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

Commit aeef41e

Browse files
captainGeech42ethanwu10
authored andcommitted
fix(server): fixed lint + log output
1 parent 9d7cea6 commit aeef41e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/api/admin/upload/post.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ export default {
6161

6262
return [responses.goodFilesUpload, files]
6363
} catch (e) {
64-
req.log.error(e);
64+
req.log.error(
65+
{ req: req.raw, err: e },
66+
e && e.message)
6567
return responses.badFilesUpload
6668
}
6769
}

0 commit comments

Comments
 (0)