Commit 753b874f authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'fix-avs-default-message' into 'master'

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

See merge request !6574
parents 0b3cc66a 9b0056e6
......@@ -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