You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah - I see now from the discussion in that PR that this is intentional. This is unfortunate as it constitutes a breaking change for those who previously logged this way.
From a DX perspective it's also somewhat surprising that Pino won't accept the error object as-is.
#1783 seems to have re-introduced #1115 as
LogFn
no longer accepts an object of typeunknown
, which is what TypeScript emits for caught errors.The text was updated successfully, but these errors were encountered: