update
This commit is contained in:
@@ -756,7 +756,7 @@ try:
|
||||
print("<hr>")
|
||||
|
||||
#Send notification (WIFI)
|
||||
send_error_notification(device_id, "serial_error")
|
||||
send_error_notification(device_id, "serial_error(no answer from sara)")
|
||||
|
||||
#end loop
|
||||
sys.exit()
|
||||
@@ -1211,13 +1211,14 @@ try:
|
||||
print('<p class="text-success">No error detected</p>')
|
||||
elif error_code == 4:
|
||||
print('<p class="text-danger">Error 4: Invalid server Hostname</p>')
|
||||
|
||||
send_error_notification(device_id, "uSpot - Invalid server Hostname")
|
||||
elif error_code == 11:
|
||||
print('<p class="text-danger">Error 11: Server connection error</p>')
|
||||
elif error_code == 22:
|
||||
print('<p class="text-danger">Error 22: PSD or CSD connection not established</p>')
|
||||
elif error_code == 73:
|
||||
print('<p class="text-danger">Error 73: Secure socket connect error</p>')
|
||||
send_error_notification(device_id, "uSpot - Secure socket connect error")
|
||||
else:
|
||||
print(f'<p class="text-danger">Unknown error code: {error_code}</p>')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user