mirror of https://github.com/MISP/MISP
chg: [sentry] Capture exception with message
parent
3e4edf46f7
commit
018652cb09
|
@ -3657,7 +3657,7 @@ class AppModel extends Model
|
|||
{
|
||||
// If Sentry is installed, send exception to Sentry
|
||||
if (function_exists('\Sentry\captureException') && $type === LOG_ERR) {
|
||||
\Sentry\captureException($exception);
|
||||
\Sentry\captureException(new Exception($message, $type, $exception));
|
||||
}
|
||||
|
||||
$message .= "\n";
|
||||
|
|
Loading…
Reference in New Issue