Skip to content

fix: pino only does error(err,str) or info/warn(str)#14

Merged
abose merged 2 commits into
mainfrom
x
Nov 1, 2025
Merged

fix: pino only does error(err,str) or info/warn(str)#14
abose merged 2 commits into
mainfrom
x

Conversation

@abose

@abose abose commented Nov 1, 2025

Copy link
Copy Markdown
Member
  1. error logs were not getting logged as pino requeires js Error object as first parameter to log stacks or a single string as first arg
  2. pino needs info/warn statements to be a single argument with string or object. all args after the first arg is ignored.

@sonarqubecloud

sonarqubecloud Bot commented Nov 1, 2025

Copy link
Copy Markdown

@abose abose merged commit 0ebe1c5 into main Nov 1, 2025
4 checks passed
@abose abose deleted the x branch November 1, 2025 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant