[Node.js] How to setup to detect 500 Internal Server Error

Hi all,

I’m using Sentry for my web apps error detection.
Sentry could pick up an error when app crashed.
But somehow, It couldn’t detect an error like internal server error 500 without app crashed.
Do you know how to set up for node.js if you want to detect internal server error?

[My configuration]
// Sentry
let dnsname = process.env.SENTRY_DSN_NODE;
Sentry.init({
dsn: dnsname
});