You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use a not-existing alias, I receive a long exception stack trace instead of a short humam-readable message "Alias doesn't exist".
Version
v0.8.1
OS
Linux
Programming Language
No response
Snippet to repeat the bug
drift-cli export raw SOME_NOT_EXISTING_ALIAS --start 2023-01-01 --stop 2023-01-02
Logs
MacBook-Pro-von-Alexey~/tmp % drift-cli --parallel 10 export raw tesa-1d4 ./raw --start 2023-03-15T09:00:00 --stop 2023-03-15T09:05:00 --topics camera-1 --jpeg
Traceback (most recent call last):
File "/Users/atimin/Library/Python/3.9/bin/drift-cli", line 8, in<module>sys.exit(main())
File "/Users/atimin/Library/Python/3.9/lib/python/site-packages/drift_cli/__init__.py", line 8, in main
return cli(obj={}) # pylint:disable=unexpected-keyword-arg, no-value-for-parameter
File "/Users/atimin/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/Users/atimin/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/Users/atimin/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/atimin/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/atimin/Library/Python/3.9/lib/python/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/atimin/Library/Python/3.9/lib/python/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/Users/atimin/Library/Python/3.9/lib/python/site-packages/click/decorators.py", line 26, in new_func
returnf(get_current_context(), *args, **kwargs)
File "/Users/atimin/Library/Python/3.9/lib/python/site-packages/drift_cli/export.py", line 88, in raw
alias: Alias = rea
Attachments
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
If I use a not-existing alias, I receive a long exception stack trace instead of a short humam-readable message "Alias doesn't exist".
Version
v0.8.1
OS
Linux
Programming Language
No response
Snippet to repeat the bug
Logs
Attachments
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: