Sentry on Express.js does not Logging

I'm currently trying Sentry and integrating it with my current app. I have an Express.js app and I organized the routes and controllers with their own directory. I have tried the example from Sentry's website and it was worked with routes that derived from express() or express.Router(). However it seems doesn't work if I passed a function (like from a controller) and throw something there.

Here I made the minimum reproducible repository. The http://localhost:3000/debug-sentry http://localhost:3000/test/outside work just fine but http://localhost:3000/test doesn't work. Is there something I missed?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum