chore(logs): report warning on missing filestore object
This commit is contained in:
parent
cd134c5b2d
commit
8ef98917aa
1 changed files with 2 additions and 2 deletions
|
|
@ -57,8 +57,8 @@ class FileStoreView(BaseAppView):
|
|||
def _serve_file(self, file_uid):
|
||||
if not self.storage.exists(file_uid):
|
||||
store_path = self.storage.store_path(file_uid)
|
||||
log.debug('File with FID:%s not found in the store under `%s`',
|
||||
file_uid, store_path)
|
||||
log.warning('File with FID:%s not found in the store under `%s`',
|
||||
file_uid, store_path)
|
||||
raise HTTPNotFound()
|
||||
|
||||
db_obj = FileStore.get_by_store_uid(file_uid, safe=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue