Closed umkasanki closed 4 years ago
Hi @umkasanki, good question. You can log anywhere straight to the Sentry sdk by using one of the following lines:
Sentry\captureMessage("Your message");
Sentry\captureException($exception);
Sentry\captureLastError();
I do need some modifications to make sure the captures are populated with some additional info on environment and craft version etc. Right now this is only done when the plugin handles the error.
For more info on the SDK: https://docs.sentry.io/platforms/php/#capturing-errors
Thank you very much
@umkasanki 1.0.1 has the additional info on every capture.
Hi, sorry for dummy question, but could you please explain how I can use your plugin inside another plugin?
eg:
Thanks