-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added better traceback output to the console. Thanks to tstromberg fo…
…r the original patch.
- Loading branch information
1 parent
e5b0cc3
commit d695710
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Primary authors: | ||
|
||
* Daniel Lindsley | ||
|
||
|
||
Contributors: | ||
|
||
* Matt Croydon for various patches and suggestions | ||
* Christian Metts for various patches and suggestions | ||
* marly for a patch to an exception's message | ||
* tstromberg for a patch related to printing tracebacks on errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from itty import * | ||
|
||
@get('/test_500') | ||
def test_500(request): | ||
raise RuntimeError('Oops.') | ||
return 'This should never happen either.' | ||
|
||
run_itty() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters