You are here

function raven_tags_context in Raven: Sentry Integration 7.3

Same name and namespace in other branches
  1. 7.4 raven.module \raven_tags_context()
  2. 7.2 raven.module \raven_tags_context()

Appends tags context.

Parameters

array $data: Associative array of tags.

File

./raven.module, line 442
Allows to track errors to Sentry server.

Code

function raven_tags_context(array $data = array()) {
  $client = raven_get_client();
  if (!$client) {
    return;
  }
  $client
    ->tags_context($data);
}