Skip to content
Snippets Groups Projects
Commit e44a0f23 authored by Georg Sauthoff's avatar Georg Sauthoff
Browse files

fix exception propagation

parent ff280262
No related branches found
No related tags found
No related merge requests found
...@@ -139,6 +139,8 @@ async def do_with_relogin(client, args, f, *xs, **kws): ...@@ -139,6 +139,8 @@ async def do_with_relogin(client, args, f, *xs, **kws):
if args.store_state: if args.store_state:
update_state(client, args.state_filename, args.profile) update_state(client, args.state_filename, args.profile)
x = await f(*xs, **kws) x = await f(*xs, **kws)
else:
raise
return x return x
def update_state(client, filename, profile): def update_state(client, filename, profile):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment