FEM: python, get rid of bare excepts
This commit is contained in:
@@ -116,7 +116,7 @@ class Task(object):
|
||||
def protector(self):
|
||||
try:
|
||||
self.run()
|
||||
except:
|
||||
except Exception:
|
||||
self.fail()
|
||||
raise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user