Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ae.utils.main: Catch GetOptException even in debug builds
Don't show stack traces for usage errors in debug builds, as non-technical users find them unsightly. Debug builds are produced by default by Dub and sometimes are needed to work around compiler bugs (e.g. CyberShadow/Digger#37). Hopefully the try/catch clause does not affect debugability of applications; otherwise, this change will be reverted. Partially fixes CyberShadow/Digger#81.
- Loading branch information