From 71da340bd2ed36167eedb5e8c5aa3eef44eb21d5 Mon Sep 17 00:00:00 2001 From: shubham-1806 Date: Sat, 17 Feb 2024 14:00:48 +0530 Subject: [PATCH] fix: send simulator runtime error log --- player_code | 2 +- src/handlers.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/player_code b/player_code index 4b097ba..7856e91 160000 --- a/player_code +++ b/player_code @@ -1 +1 @@ -Subproject commit 4b097baf6bfd636ed686ce227826bd9c243bf72d +Subproject commit 7856e91953f0d57777353f3162c44993d5803316 diff --git a/src/handlers.rs b/src/handlers.rs index 482f407..09387dd 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -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()))); } } }