mirror of
https://github.com/derrod/legendary.git
synced 2025-01-03 04:45:28 +00:00
[cli] Properly catch exception on import
This commit is contained in:
parent
ad2912a88e
commit
0acfc47b33
|
@ -113,8 +113,8 @@ class LegendaryCLI:
|
||||||
else:
|
else:
|
||||||
logger.warning('Login session from EGS seems to no longer be valid.')
|
logger.warning('Login session from EGS seems to no longer be valid.')
|
||||||
exit(1)
|
exit(1)
|
||||||
except ValueError:
|
except Exception as e:
|
||||||
logger.error('No EGS login session found, please login manually.')
|
logger.error(f'No EGS login session found, please login manually. (Exception: {e!r})')
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
exchange_token = ''
|
exchange_token = ''
|
||||||
|
|
Loading…
Reference in a new issue