diff options
author | kali <kali@leap.se> | 2013-02-15 07:50:56 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-02-15 07:50:56 +0900 |
commit | 39c20c1a7639ed5bfb1d036b095175cafdcb5f65 (patch) | |
tree | fad55e3ee47435c11259e1fd3f349ff3c0d19078 /src/leap/base/exceptions.py | |
parent | ede5653bd8c240a434de6397195dd8a8a111d1ba (diff) |
do not be so hysteric when net fails
Diffstat (limited to 'src/leap/base/exceptions.py')
-rw-r--r-- | src/leap/base/exceptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/base/exceptions.py b/src/leap/base/exceptions.py index 2e31b33b..3d8dde48 100644 --- a/src/leap/base/exceptions.py +++ b/src/leap/base/exceptions.py @@ -67,7 +67,7 @@ class NoDefaultInterfaceFoundError(LeapException): "is not connected to the internet") -class NoConnectionToGateway(CriticalError): +class NoConnectionToGateway(LeapException): message = "no connection to gateway" usermessage = translate( "Errors", @@ -75,7 +75,7 @@ class NoConnectionToGateway(CriticalError): "with your internet connection") -class NoInternetConnection(CriticalError): +class NoInternetConnection(LeapException): message = "No Internet connection found" usermessage = translate( "Errors", |