Skip to content

Conversation

@jorgenpt
Copy link

@jorgenpt jorgenpt commented May 5, 2015

This helps because IOError does not assign `message', but str prints
both the path and the error that occurred.

Old behavior:

$ bin/1pass foo
1pass: Error: 

New behavior:

$ bin/1pass foo               
1pass: Error: [Errno 2] No such file or directory: '/home/jorgen/Dropbox/1Password.agilekeychain/data/default/encryptionKeys.js'

This helps because IOError does not assign `message', but __str__ prints
both the path and the error that occurred.

This should address georgebrock#7.
@jorgenpt jorgenpt force-pushed the better-error-messages branch from 621f56e to 49d7d8b Compare May 5, 2015 23:25
@jorgenpt
Copy link
Author

jorgenpt commented May 5, 2015

Fixes issue #7.

@AlJohri
Copy link

AlJohri commented Jun 17, 2017

@AdamIsrael 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.

2 participants