Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

Commit 68ccc71

Browse files
More helpful logs when creating Sandbox.
1 parent 72c8b2c commit 68ccc71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/TaskType.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ def safe_delete_sandbox(self):
147147
def safe_create_sandbox(self):
148148
try:
149149
self.sandbox = Sandbox()
150-
except (OSError, IOError):
151-
Utils.log("Couldn't create sandbox", Utils.Logger.SEVERITY_IMPORTANT)
150+
except (OSError, IOError), e:
151+
Utils.log("Couldn't create sandbox (error: %s)" % repr(e), Utils.Logger.SEVERITY_IMPORTANT)
152152
self.safe_delete_sandbox()
153153
raise JobException()
154154

0 commit comments

Comments
 (0)