Skip to content
Snippets Groups Projects
Commit 5e38165b authored by toor's avatar toor
Browse files

CT-126: Fix lint error.

parent ae20e586
No related branches found
No related tags found
No related merge requests found
......@@ -440,8 +440,8 @@ class CspSubElementSubarray(SKASubarray):
return (ResultCode.OK, "Configuration validated with success")
except (KeyError, JSONDecodeError) as err:
msg = "Validate configuration failed with error:{}".format(err)
except Exception as anything_else:
msg = "Validate configuration failed with unknown error:{}".format(err)
except Exception as other_errs:
msg = "Validate configuration failed with unknown error:{}".format(other_errs)
self.logger.error(msg)
return (ResultCode.FAILED, msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment