Skip to content

Commit

Permalink
add todo!() to judger
Browse files Browse the repository at this point in the history
  • Loading branch information
Eason0729 committed Jul 4, 2024
1 parent 8d7c68b commit 86a0cd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions judger/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ async fn main() {
.try_init()
.ok();

// FIXME: print traceback on every error
let default_panic = std::panic::take_hook();
std::panic::set_hook(Box::new(move |info| {
log::error!("something panic, exiting...");
Expand Down

0 comments on commit 86a0cd1

Please sign in to comment.