Commit 9b0056e6 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Linksys.SWR.login. Not used message for NOCError.

parent 0b3cc66a
Pipeline #37228 passed with stages
in 14 minutes and 33 seconds
......@@ -25,6 +25,6 @@ class Script(BaseScript):
return {"result": True, "message": ""}
except NOCError as e:
return {"result": False, "message": "Error: %s (%s)" % (e.default_msg, e.message)}
return {"result": False, "message": f"Error: {e.default_msg} ({e!r})"}
except Exception as e:
return {"result": False, "message": "Exception: %s" % repr(e)}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment