newbie here, enjoying sentry so far
My question: I would like to include some logging information only in case of errors, i.e. to trace back what the user was doing just before the crash.
I have tried to use Sentry.captureMessage(msg) but it seems to me that it logs all messages, with no condition on an actual crash.
Do you know if this is possible, and how?