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

Commit c5e3366

Browse files
committed
fix(server): clean up upload error log
Fix style and remove unnecessary logging of full request object.
1 parent aeef41e commit c5e3366

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

server/api/admin/upload/post.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ export default {
6262
return [responses.goodFilesUpload, files]
6363
} catch (e) {
6464
req.log.error(
65-
{ req: req.raw, err: e },
66-
e && e.message)
65+
{ err: e },
66+
e && e.message
67+
)
6768
return responses.badFilesUpload
6869
}
6970
}

0 commit comments

Comments
 (0)