Java EE (JBoss) integration (advice)

Some updated info of what I did :

I added an additional exception ( int a = 1 / 0; ) which is not logged in Sentry (in both examples).

What I’m i doing wrong / not understanding?