galaxyproject / galaxyproject/planemo

Refine top-level exception handling.

Open
#219 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
110
Forks
102
Avg merge
4d 21h
Merged PRs (30d)
13

Description

If exceptions escape - they cause the whole stack trace to be printed (e.g. https://github.com/galaxyproject/planemo/issues/217#issuecomment-104306716) - I would expect this behavior if `-v` has been supplied - but for normal execution probably this should just catch the exception and `planemo.io.error(str(e))` and then exit with a non-zero exit code.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.