Skip to content

Conversation

@skshetry
Copy link
Collaborator

@skshetry skshetry commented May 4, 2020

  • ❗ I have followed the Contributing to DVC checklist.

  • πŸ“– If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here. If the CLI API is changed, I have updated tab completion scripts.

  • ❌ I will check DeepSource, CodeClimate, and other sanity checks below. (We consider them recommendatory and don't expect everything to be addressed. Please fix things that actually improve code or fix bugs.)

Thank you for the contribution - we'll try to review it as soon as possible. πŸ™

closes #3706 and closes #3718

@skshetry skshetry added the ui user interface / interaction label May 4, 2020
@skshetry skshetry requested a review from efiop May 4, 2020 04:56
@skshetry skshetry self-assigned this May 4, 2020
Comment on lines +61 to +63
except DvcException:
ret = 255
logger.exception("")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

DvcException won't have unexpected error prepended. Other exceptions and assertion errors will still have that prefixed, which is a good compromise, I'd say.

@skshetry skshetry requested a review from efiop May 4, 2020 13:09
@efiop efiop merged commit c186a8e into treeverse:master May 4, 2020
@skshetry skshetry deleted the shorten-err-msg branch May 4, 2020 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui user interface / interaction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ERROR: unexpected error - are any errors expected by the user? run: ui issue for run

2 participants