Skip to content

Commit

Permalink
fix: send simulator runtime error log
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-1806 authored and bhoopesh369 committed Mar 2, 2024
1 parent c2cafc3 commit cfe23ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion player_code
Submodule player_code updated 1 files
+2 −0 cpp/.ccls
2 changes: 1 addition & 1 deletion src/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ impl Handler for NormalGameRequest {
)
}
_ => {
return create_normal_error_response(self.game_id, SimulatorError::RuntimeError("couldnt communicate with simulator check syntax".to_owned()));
return create_normal_error_response(self.game_id, SimulatorError::RuntimeError(format!("couldnt communicate with simulator check syntax \n {}", process.output())));
}
}
}
Expand Down

0 comments on commit cfe23ca

Please sign in to comment.