mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
f9958ca35a
Summary: This change introduces two new metadata types, Category and Transience, and a mechanism for Category to provide a default Fault and Transience, which can be overriden by the user. Also introduces a mechanism for attempting to log exceptions which occur during exception logging, falling back to the previous behavior of just swallowing the exception on failure. Reviewed By: DurhamG Differential Revision: D22677565 fbshipit-source-id: 1cf75ca1e2a65964a0ede1f072439378a46bd391
13 lines
456 B
Perl
13 lines
456 B
Perl
$ configure modern
|
|
$ newserver master
|
|
|
|
Test debugcauserusterror error formatting
|
|
$ hg debugcauserusterror
|
|
abort: intentional error for debugging with message 'intentional_error'
|
|
[255]
|
|
$ hg debugcauserusterror --traceback
|
|
abort: intentional error for debugging with message 'intentional_error'
|
|
|
|
error tags: error has type name "taggederror::IntentionalError", error is request issue, error is permanent, error is programming issue
|
|
[255]
|