This commit is contained in:
tamaina 2023-01-15 12:37:04 +00:00
parent 16df492dec
commit fc751568e0
3 changed files with 18 additions and 2 deletions

View file

@ -108,6 +108,12 @@ export class MediaProxyServerService {
withoutEnlargement: true,
})
.webp(webpDefault),
err => {
if (err) {
this.logger.error('Sharp pipeline error (emoji)', err);
throw new StatusError('Internal Error occured (in emoji pipeline, MediaProxy)', 500, 'Internal Error occured');
}
}
);
image = {