gabeorlanski commited on
Commit
a7f3790
1 Parent(s): c2da054

Update execution.py

Browse files
Files changed (1) hide show
  1. execution.py +5 -0
execution.py CHANGED
@@ -54,6 +54,11 @@ def safe_execute(
54
  except subprocess.TimeoutExpired:
55
  timed_out = True
56
  runtime = timeout
 
 
 
 
 
57
  finally:
58
  execution_process.kill()
59
 
 
54
  except subprocess.TimeoutExpired:
55
  timed_out = True
56
  runtime = timeout
57
+
58
+ except Exception as e:
59
+ stderr = str(e)
60
+ stdout = ""
61
+ return_code = -1
62
  finally:
63
  execution_process.kill()
64