Skip to content

Commit

Permalink
fix(game/photo): log error message for upload error
Browse files Browse the repository at this point in the history
  • Loading branch information
itschip committed Jan 6, 2024
1 parent f89307d commit 5bf4bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/game/server/photo/photo.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class _PhotoService {

return resp({ status: 'ok', data: photo });
} catch (err) {
photoLogger.error(`Failed to upload photo`, {
photoLogger.error(`Failed to upload photo: Error: ${err}. Message: ${err.message}`, {
source: reqObj.source,
});
return resp({ status: 'error', errorMsg: 'GENERIC_DB_ERROR' });
Expand Down

0 comments on commit 5bf4bca

Please sign in to comment.