We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4fe57d commit 44aa371Copy full SHA for 44aa371
Submission.py
@@ -25,9 +25,10 @@ def submit(self):
25
for part_id, _ in enumerate(self.__srcs, 1):
26
try:
27
parts[str(part_id)] = {'output': self.__output(part_id)}
28
- except:
+ except Exception as e:
29
+ print('Error in part {}: {}'.format(part_id, e))
30
parts[str(part_id)] = {'output': '0'}
-
31
+
32
result, response = self.request(parts)
33
response = loads(response.decode('utf-8'))
34
0 commit comments