Show More
@@ -57,8 +57,8 b' class FileStoreView(BaseAppView):' | |||||
57 | def _serve_file(self, file_uid): |
|
57 | def _serve_file(self, file_uid): | |
58 | if not self.storage.exists(file_uid): |
|
58 | if not self.storage.exists(file_uid): | |
59 | store_path = self.storage.store_path(file_uid) |
|
59 | store_path = self.storage.store_path(file_uid) | |
60 |
log. |
|
60 | log.warning('File with FID:%s not found in the store under `%s`', | |
61 | file_uid, store_path) |
|
61 | file_uid, store_path) | |
62 | raise HTTPNotFound() |
|
62 | raise HTTPNotFound() | |
63 |
|
63 | |||
64 | db_obj = FileStore.get_by_store_uid(file_uid, safe=True) |
|
64 | db_obj = FileStore.get_by_store_uid(file_uid, safe=True) |
General Comments 0
You need to be logged in to leave comments.
Login now