carols10cents / cargo-open

A third-party cargo extension to allow you to open a dependent crate in your $EDITOR
Apache License 2.0
22 stars 5 forks source link

Error handling #11

Closed lummax closed 1 year ago

lummax commented 8 years ago

This PR improves the error handling in this subcommand.

It was necessary to pin the cargo dependency to have certain functionality available on the stable release.

With this errors do not panic anymore, but the cargo::handle_error() function is used to print errors the same way cargo does.