mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
A standard Exception
is fine
This commit is contained in:
parent
d6b60f41c9
commit
a7fdd02d47
@ -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.
|
||||||
'''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user