-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a debugging mode controlled by AUGUR_DEBUG #1577
Conversation
At the moment, this only enables printing of stack traces and the full exception chain for handled (i.e. anticipated) errors, which otherwise were not printed. In the future, this mode can also control the output of verbose debugging/troubleshooting logging for more commands. Commit contents and message based on similar commits I made to Nextstrain CLI.¹ Resolves <#1308>. ¹ <nextstrain/cli@229f2e8> <nextstrain/cli@b6d9290> <nextstrain/cli#208>
1c37b04
to
102adf1
Compare
Rebased onto latest |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1577 +/- ##
==========================================
- Coverage 70.23% 70.17% -0.06%
==========================================
Files 76 77 +1
Lines 7990 8001 +11
Branches 1946 1950 +4
==========================================
+ Hits 5612 5615 +3
- Misses 2092 2098 +6
- Partials 286 288 +2 ☔ View full report in Codecov by Sentry. |
Should |
Oops, yes! I'll add it. |
…instead of in the developer API pages. Much more discoverable outside of the dev pages. Modifies formatting of the rST to match the new document's existing formatting, but the content is the same. Thanks to @joverlee521 for catching this misplacement in post-merge review.¹ ¹ <#1577 (comment)>
…instead of being buried in the developer API pages. Much more discoverable. Modifies formatting of the rST to match the new document's existing formatting, but the content is the same. Thanks to @joverlee521 for catching this misplacement in post-merge review.¹ ¹ <#1577 (comment)>
At the moment, this only enables printing of stack traces and the full exception chain for handled (i.e. anticipated) errors, which otherwise were not printed. In the future, this mode can also control the output of verbose debugging/troubleshooting logging for more commands.
Commit contents and message based on similar commits I made to Nextstrain CLI.¹
Resolves #1308.
¹ nextstrain/cli@229f2e8
nextstrain/cli@b6d9290
nextstrain/cli#208
Checklist