Skip to content

Commit

Permalink
Stop exception rethrowing eating traceback.
Browse files Browse the repository at this point in the history
  • Loading branch information
Francis Herne committed Nov 23, 2014
1 parent 9f2d55f commit b554cbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Player.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ def setworld(self, name, position=None, blocking=False):
def lworld():
try:
geplayer = GEPlayer(self, worlds.getworld(name), position)
except Exception, e:
except Exception:
with self.statelock:
self.state = 'crashed'
raise e; return
raise; return
with self.statelock:
self.geplayer = geplayer
self.state = 'normal'
Expand Down

0 comments on commit b554cbf

Please sign in to comment.