function raven_flush in Raven: Sentry Integration 7.4
Same name and namespace in other branches
- 7.2 raven.module \raven_flush()
- 7.3 raven.module \raven_flush()
Sends all unsent events.
Call this function periodically if you have a long-running script or are processing a large set of data which may generate errors.
File
- ./
raven.module, line 376 - Allows to track errors to Sentry server.
Code
function raven_flush() {
if ($client = raven_get_client()) {
$client
->flush();
}
}