Error in Sentry not recognizing `packs/` folder in app project. Need help finding solution

This message was imported from the Ruby/Rails Modularity Slack server. Find more info in the import thread.

Message originally sent by slack user U71TN2WF04X

Hello, recently it came to my attention that when an error is raised and reported via Sentry, anything under packs/ is not recognized as part of the app in the Sentry project, so it doesnt show where the error occurred, which forces me to see the full trace and search for the error, has anyone faced this?

I am trying to look for a solution but with no luck for the moment :disappointed:

The default lookup path is:

APP_DIRS_PATTERN = /(bin|exe|app|config|lib|test)/.freeze

you can change this with Raven.configuration.app_dirs_pattern

Message originally sent by slack user U71TN2WF04X

Nice thanks! :raised_hands: