A standard Exception is fine

This commit is contained in:
tcely 2025-05-02 17:09:23 -04:00 committed by GitHub
parent d6b60f41c9
commit a7fdd02d47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,3 @@
from django.http import Http404
class NoMediaException(Exception): class NoMediaException(Exception):
''' '''
Raised when a source returns no media to be indexed. Could be an invalid Raised when a source returns no media to be indexed. Could be an invalid
@ -25,7 +22,7 @@ class NoMetadataException(Exception):
pass pass
class NoThumbnailException(Http404): class NoThumbnailException(Exception):
''' '''
Raised when a thumbnail was not found at the remote URL. Raised when a thumbnail was not found at the remote URL.
''' '''