mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-01 23:38:21 +00:00
add missing ncerror get context
This commit is contained in:
@@ -291,8 +291,9 @@ export class DataAttachmentV3Service {
|
||||
generateThumbnailAttachments.push(processedAttachment);
|
||||
}
|
||||
} catch (error) {
|
||||
NcError.unprocessableEntity(
|
||||
`Failed to process base64 attachment: ${error}`,
|
||||
this.logger.error(`${error?.constructor?.name}: ${error?.message}`);
|
||||
NcError.get(context).unprocessableEntity(
|
||||
`Failed to process base64 attachment`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user