diff --git a/src/backend/middlewares/SharingMWs.ts b/src/backend/middlewares/SharingMWs.ts index 0776a032..e4552561 100644 --- a/src/backend/middlewares/SharingMWs.ts +++ b/src/backend/middlewares/SharingMWs.ts @@ -118,6 +118,7 @@ export class SharingMWs { ); return next(); } catch (err) { + console.warn(err); return next( new ErrorDTO( ErrorCodes.GENERAL_ERROR, diff --git a/src/backend/middlewares/thumbnail/ThumbnailGeneratorMWs.ts b/src/backend/middlewares/thumbnail/ThumbnailGeneratorMWs.ts index fc65efd0..a8943c09 100644 --- a/src/backend/middlewares/thumbnail/ThumbnailGeneratorMWs.ts +++ b/src/backend/middlewares/thumbnail/ThumbnailGeneratorMWs.ts @@ -42,6 +42,7 @@ export class ThumbnailGeneratorMWs { ThumbnailGeneratorMWs.addThInfoToPhotos(cw.searchResult.media); } } catch (error) { + console.error(error); return next( new ErrorDTO( ErrorCodes.SERVER_ERROR, @@ -119,6 +120,7 @@ export class ThumbnailGeneratorMWs { req.resultPipe = await PhotoProcessing.generatePersonThumbnail(person); return next(); } catch (error) { + console.error(error); return next( new ErrorDTO( ErrorCodes.THUMBNAIL_GENERATION_ERROR, diff --git a/src/backend/model/jobs/jobs/FileJob.ts b/src/backend/model/jobs/jobs/FileJob.ts index bce773cc..2159973b 100644 --- a/src/backend/model/jobs/jobs/FileJob.ts +++ b/src/backend/model/jobs/jobs/FileJob.ts @@ -110,6 +110,7 @@ export abstract class FileJob