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
Current behavior:
While displaying the errors, click.style is being called on the errors to make the colors consistent. However, this implementation is not correct as click.style does not support an Exception as an argument, hence it raises an error on its own. See this snap:
Expected:
The error message should be displayed. Like:
Another option to still retain the styling and colors is to call str() on the errors first.
i.e.
echo(style(str(exception), ... ))
The text was updated successfully, but these errors were encountered:
Current behavior:
While displaying the errors,
click.style
is being called on the errors to make the colors consistent. However, this implementation is not correct asclick.style
does not support anException
as an argument, hence it raises an error on its own. See this snap:Expected:
The error message should be displayed. Like:
Another option to still retain the styling and colors is to call
str()
on the errors first.i.e.
The text was updated successfully, but these errors were encountered: