use logger
This commit is contained in:
parent
8f3e2ff663
commit
bb92ca75e9
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ export class AttachmentService {
|
|||
});
|
||||
} catch (err) {
|
||||
// delete uploaded file on error
|
||||
console.error(err);
|
||||
this.logger.error(err);
|
||||
}
|
||||
|
||||
return attachment;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue