It kinda seems like this exception that is happeni...
# announcements
d
It kinda seems like this exception that is happening is just being silently snuffed out
r
It works the same as anywhere else. Can you provide a code sample that demonstrates your issue?
d
Well, I’m not entirely sure what my issue is. I do know that an exception is occurring and we have an aspect that logs it and rethrows it. I’m expecting that the exception should be caught somewhere further up the stack but it does not.
And notably, the exception is occurring within a forEach block. However, it doesn’t seem to be thrown out of that block.
Ok no… looks like it probably is and it’s just not being caught in an expected way
r
Without knowing any more, we can only guess. I'd venture there is something between where it is rethrown and where you expect to catch it that is silently handling it, but it could be any number of things. Maybe it's not actually rethrown, maybe the type of exception doesn't match the catch. Maybe ...
d
It’s a runtime exception and there’s definitely nothing catching this one in particular. I was just under the impression we had something at a top level that caught and logged everything…. But I guess that’s wrong
👍 1