Skip to content

Conversation

@jayaike
Copy link
Contributor

@jayaike jayaike commented Dec 28, 2019

What was causing the issue was that the reponse.json() had no attribute of error in it hence it was throwing an error

@pushkalkatara
Copy link

@nsjcorps Please post screenshots of the above CLI command.

if "error" in response.json():
echo(
style(
"\nError: {}\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about:

"\nFailed to make submission with error: {}\n"

Copy link
Member

@krtkvrm krtkvrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants