We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55e67b4 commit bab79b1Copy full SHA for bab79b1
src/apps/statements/service/storeStatements/index.ts
@@ -5,6 +5,7 @@ import AttachmentModel from '../../models/AttachmentModel';
5
import StoreStatementsOptions from '../../serviceFactory/options/StoreStatementsOptions';
6
import { STATEMENT_WRITE_SCOPES } from '../../utils/scopes';
7
import Config from '../Config';
8
+import logger from '../../../../logger';
9
import checkAttachments from './checkAttachments';
10
import checkVoiders from './checkVoiders';
11
import createAttachments from './createAttachments';
@@ -91,7 +92,7 @@ export default (config: Config) => {
91
92
})
93
.catch((err) => {
94
/* istanbul ignore next */
- console.error(err);
95
+ logger.error('emitNewStatements error', err);
96
});
97
}
98
0 commit comments