mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 19:20:48 +02:00
#1358 fix exception on message
This commit is contained in:
parent
f36d228def
commit
4858fe6e78
@ -730,7 +730,10 @@ More information on the service you can find under:
|
||||
exitcode = 0
|
||||
|
||||
order = ast.literal_eval(be.errorLong)
|
||||
message = order['message']
|
||||
try :
|
||||
message = order['message']
|
||||
except Exception as e:
|
||||
message = "n/a"
|
||||
|
||||
if (be.errorShort == "timeout on waiting for extending bridge" or
|
||||
be.errorShort == "fail on subscription storage" or
|
||||
|
@ -251,7 +251,6 @@ if tag == "NEW2":
|
||||
# NEW IP2TOR BRIDGE
|
||||
###############################
|
||||
|
||||
|
||||
if tag == "NEW1":
|
||||
|
||||
# check if Blitz is running behind TOR
|
||||
|
Loading…
Reference in New Issue
Block a user