Skip to content

Commit

Permalink
fix(backend): type-invalid error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
japsu committed Jul 30, 2023
1 parent 908cf9c commit 9c41756
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def handle(self, *args, **options):
),
)
except MediaSpec.MultipleObjectsReturned:
log_get_or_create(logger, spec, False) # type: ignore
logger.warn("Multiple MediaSpecs for %s %s", format, role)
else:
log_get_or_create(logger, spec, created)

0 comments on commit 9c41756

Please sign in to comment.