Add missing logging for IOError issue in archived logs
This commit is contained in:
parent
3b26e819d3
commit
3413fc3d8a
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ class LogArchiveHandlers(UserfilesHandlers):
|
|||
data_stream = self._storage.stream_read_file(self._locations, path)
|
||||
return send_file(GzipInputStream(data_stream), mimetype=JSON_MIMETYPE)
|
||||
except IOError:
|
||||
logger.exception('Could not read archived logs')
|
||||
abort(404)
|
||||
|
||||
|
||||
|
|
Reference in a new issue