NodeJs, how to report console.error?

Node js apps is common to catch the error to avoid fatal app crashes. The errors are reported with console.error().

But Sentry is capturing only exceptions (only fatal errors in modern apps).

Searching in the docs couldn’t find a clear reference on how to do it.
integrations: [
new Sentry.Integrations.Console(),
didn’t work either.

Searching on internet the most relevant id this but again seems to be outdated or the api is not for nodejs apps.

Is this supported by Sentry? And if yes is there an clear API documentation for this?


Can be done with this!