Skip to content

Commit

Permalink
cerr to logger->warning (#1262)
Browse files Browse the repository at this point in the history
  • Loading branch information
skrynski authored Nov 24, 2023
1 parent 0f8ef7e commit 0040223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rir/src/compiler/osr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Function* OSR::compile(SEXP closure, rir::Code* c,
auto dt = DispatchTable::unpack(BODY(closure));
fun->dispatchTable(dt);
},
[&]() { std::cerr << "Continuation compilation failed\n"; });
[&]() { logger.warn("Continuation compilation failed"); });

delete module;

Expand Down

0 comments on commit 0040223

Please sign in to comment.