Skip to content

Commit bc998fe

Browse files
author
Andrés Soto
committed
refactor: TT-353 Solving Sonarcloud code smell
1 parent 8bdbdfe commit bc998fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

V2/source/daos/activities_json_dao.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def get_by_id(self, id: str) -> ActivityDto:
2020
if activity.get('id') == id
2121
)
2222
)
23-
except:
23+
except Exception:
2424
return HTTPStatus.NOT_FOUND
2525

2626
activity = self.__create_activity_dto(activity)

0 commit comments

Comments
 (0)