I have installed sentry-spring from maven, I am using SlF4j for logging, when in normal tasks, I use log.error , I am able to see the error in sentry dashboard, but in case of async methods, when I do same in that, nothing is showing up in sentry dashboard, I can see the error being printed in logs.
Can someone help me, if there is some changes which need to be done here?
@ankit can you please add more details. Will be helpful to see how you are instrumenting Sentry.
While logging errors in Spring boot with Slf4j
log.error();
Errors are not appearing in sentry dashboard if I use it in @Async
annotated functions…