Skip to content

Commit 81f8d4b

Browse files
authored
fix: display thumbnail failure reason as JSON.stringified (#1903)
1 parent 5184209 commit 81f8d4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/services/item/plugins/thumbnail/itemThumbnail.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class ItemThumbnailService {
136136
}
137137

138138
this.logger.error(
139-
`An error occured while fetching the item's thumbnails. The reason: ${res.reason}`,
139+
`An error occured while fetching the item's thumbnails. The reason: ${JSON.stringify(res.reason)}`,
140140
);
141141
return acc;
142142
}, {});

0 commit comments

Comments
 (0)