mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 18:22:36 +10:00
use logger
This commit is contained in:
@ -59,7 +59,7 @@ export class AttachmentService {
|
|||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
// delete uploaded file on error
|
// delete uploaded file on error
|
||||||
console.error(err);
|
this.logger.error(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
return attachment;
|
return attachment;
|
||||||
|
|||||||
Reference in New Issue
Block a user