We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7807d2d commit c3bcb31Copy full SHA for c3bcb31
src/jobs/validator.js
@@ -30,7 +30,7 @@ export default class JobValidator {
30
} catch (err) {
31
if (err instanceof Finitio.TypeError) {
32
logger.error('Invalid job payload', err);
33
- logger.debug('Input data does not respect the schema:', inputData);
+ logger.debug({ inputData }, 'Input data does not respect the schema');
34
throw DataValidationError.fromFinitioError('Invalid input data:', err);
35
}
36
throw err;
src/logger.js
@@ -5,6 +5,7 @@ import bunyan from 'bunyan';
5
const logger = bunyan.createLogger({
6
name: 'arnavon',
7
version,
8
+ level: 'debug',
9
serializers: bunyan.stdSerializers
10
});
11
0 commit comments