File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/cloudformation_cli_python_lib Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ def test_entrypoint(
152
152
return e .to_progress_event ()
153
153
except Exception : # pylint: disable=broad-except
154
154
LOG .exception ("Exception caught" )
155
- except BaseException : # pylint: disable=broad-except
155
+ except BaseException : # pylint: disable=broad-except # noqa: B036
156
156
LOG .critical ("Base exception caught (this is usually bad)" , exc_info = True )
157
157
return ProgressEvent .failed (HandlerErrorCode .InternalFailure , msg )
158
158
@@ -260,7 +260,7 @@ def print_or_log(message: str) -> None:
260
260
except Exception as e : # pylint: disable=broad-except
261
261
print_or_log (f"Exception caught { e } " )
262
262
progress = ProgressEvent .failed (HandlerErrorCode .InternalFailure )
263
- except BaseException as e : # pylint: disable=broad-except
263
+ except BaseException as e : # pylint: disable=broad-except # noqa: B036
264
264
print_or_log (f"Base exception caught (this is usually bad) { e } " )
265
265
progress = ProgressEvent .failed (HandlerErrorCode .InternalFailure )
266
266
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ def test_entrypoint(
133
133
return e .to_progress_event ()
134
134
except Exception : # pylint: disable=broad-except
135
135
LOG .exception ("Exception caught" )
136
- except BaseException : # pylint: disable=broad-except
136
+ except BaseException : # pylint: disable=broad-except # noqa: B036
137
137
LOG .critical ("Base exception caught (this is usually bad)" , exc_info = True )
138
138
return ProgressEvent .failed (HandlerErrorCode .InternalFailure , msg )
139
139
@@ -229,7 +229,7 @@ def print_or_log(message: str) -> None:
229
229
except Exception as e : # pylint: disable=broad-except
230
230
print_or_log (f"Exception caught { e } " )
231
231
progress = ProgressEvent .failed (HandlerErrorCode .InternalFailure )
232
- except BaseException as e : # pylint: disable=broad-except
232
+ except BaseException as e : # pylint: disable=broad-except # noqa: B036
233
233
print_or_log (f"Base exception caught (this is usually bad) { e } " )
234
234
progress = ProgressEvent .failed (HandlerErrorCode .InternalFailure )
235
235
You can’t perform that action at this time.
0 commit comments