Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit 13ba69f

Browse files
committed
Merge pull request #526 from captainGeech42/master
Added error logging for upload exceptions
2 parents 83140ba + c5e3366 commit 13ba69f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/api/admin/upload/post.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ export default {
6161

6262
return [responses.goodFilesUpload, files]
6363
} catch (e) {
64+
req.log.error(
65+
{ err: e },
66+
e && e.message
67+
)
6468
return responses.badFilesUpload
6569
}
6670
}

0 commit comments

Comments
 (0)