Open sl0thentr0py opened 1 month ago
@savhappy we could use :application.get_key(app, :modules)
to get all the app modules.
Basically, we could do this if :in_app_module_allow_list
is not set:
Mix.Project.umbrella?/1
).:application.get_key(app, :modules)
.This might not be trivial work, want me to give it a try first?
@whatyouhide yep! Go for it! If you need me to take some of the work load let me know
yep sounds good to me, thx both!
Currently
in_app_module_allow_list
defaults to an empty list, so most users don't get good in-app frames marked. Ruby for instance defaults to a combination of project root + known common directory names https://github.com/getsentry/sentry-ruby/blob/c3bcfa0401856d9ee7616c95ab9dfe988a89da30/sentry-ruby/lib/sentry/backtrace.rb#L91-L93