Skip to content

Commit 5e06e6f

Browse files
NPA-4511: Removed unused
1 parent ceeb684 commit 5e06e6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sandbox/api/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def get_related_persons() -> Union[dict, tuple]:
113113

114114
raise ValueError("Invalid request")
115115

116-
except Exception as e:
116+
except Exception:
117117
logger.exception("GET related person failed")
118118
return generate_response_from_example(INTERNAL_SERVER_ERROR_EXAMPLE, 500)
119119

@@ -128,7 +128,7 @@ def post_questionnaire_response() -> Union[dict, tuple]:
128128

129129
try:
130130
return generate_response_from_example(QUESTIONNAIRE_RESPONSE__SUCCESS, 200)
131-
except Exception as e:
131+
except Exception:
132132
logger.exception("POST questionnaire response failed")
133133
return generate_response_from_example(INTERNAL_SERVER_ERROR_EXAMPLE, 500)
134134

0 commit comments

Comments
 (0)