mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-08 09:53:24 +00:00
♻️(backend) clarify storage hook message for intentionally ignored req
Update the response message to explicitly state that certain notifications are ignored on purpose, avoiding confusion during debugging or log inspection.
This commit is contained in:
@@ -762,14 +762,14 @@ class RecordingViewSet(
|
||||
except InvalidBucketError as e:
|
||||
raise drf_exceptions.PermissionDenied("Invalid bucket specified") from e
|
||||
|
||||
except InvalidFilepathError as e:
|
||||
except InvalidFilepathError:
|
||||
return drf_response.Response(
|
||||
{"message": f"Ignore this filepath, {e}"},
|
||||
{"message": "Notification ignored."},
|
||||
)
|
||||
|
||||
except InvalidFileTypeError as e:
|
||||
except InvalidFileTypeError:
|
||||
return drf_response.Response(
|
||||
{"message": f"Ignore this file type, {e}"},
|
||||
{"message": "Notification ignored."},
|
||||
)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user