Commit b86af7f2 authored by Gandalf's avatar Gandalf
Browse files

Fix pino logger.error argument order across codebase

Pino's API expects error object as first argument: logger.error(error, 'message')
or printf-style: logger.error('message: %s', value)

The incorrect pattern logger.error('message', error) silently discards the second
argument, making debugging impossible.

Fixed 27 files with broken logger.error calls.
parent 9d0a710c
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment