mirror of
https://github.com/gsi-upm/soil
synced 2025-08-23 19:52:19 +00:00
minor change in docs
This commit is contained in:
@@ -1 +1 @@
|
||||
0.14.6
|
||||
0.14.7
|
@@ -216,9 +216,10 @@ class Simulation(NetworkSimulation):
|
||||
try:
|
||||
return self.run_trial(*args, **kwargs)
|
||||
except Exception as ex:
|
||||
c = ex.__cause__
|
||||
c.message = ''.join(traceback.format_exception(type(c), c, c.__traceback__)[:])
|
||||
return c
|
||||
if ex.__cause__ is not None:
|
||||
ex = ex.__cause__
|
||||
ex.message = ''.join(traceback.format_exception(type(ex), ex, ex.__traceback__)[:])
|
||||
return ex
|
||||
|
||||
def to_dict(self):
|
||||
return self.__getstate__()
|
||||
|
Reference in New Issue
Block a user