Greenbone Vulnerability Manager  22.4.0~dev1
Functions
debug_utils.h File Reference

Headers for debug utilties and Sentry integration. More...

#include <gvm/base/gvm_sentry.h>

Go to the source code of this file.

Functions

int init_sentry (void)
 Initialize Sentry using the current gvmd version and DSN. More...
 

Detailed Description

Headers for debug utilties and Sentry integration.

Function Documentation

◆ init_sentry()

int init_sentry ( void  )

Initialize Sentry using the current gvmd version and DSN.

The DSN is set via the environment variable SENTRY_DSN_GVMD.

Returns
1 if sentry support was enabled, 0 if not.