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

Commit 9d7cea6

Browse files
captainGeech42ethanwu10
authored andcommitted
feat(server): added error logging for upload exceptions
1 parent 83140ba commit 9d7cea6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/api/admin/upload/post.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export default {
6161

6262
return [responses.goodFilesUpload, files]
6363
} catch (e) {
64+
req.log.error(e);
6465
return responses.badFilesUpload
6566
}
6667
}

0 commit comments

Comments
 (0)