mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-07-01 15:21:33 +02:00
Don't bother with a backtrace when we produce certain fatal errors.
We'll introduce a new "Fatal" exception for this purpose, and throw it when we just want to print a user message and abort immediately.
This commit is contained in:
@ -15,3 +15,7 @@ def debug1(s):
|
||||
def debug2(s):
|
||||
if verbose >= 2:
|
||||
log(s)
|
||||
|
||||
|
||||
class Fatal(Exception):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user