Audacity
3.2.0
libraries
lib-sentry-reporting
SentryHelper.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
SentryHelper.h
6
7
Defines a macro ADD_EXCEPTION_CONTEXT, that is a no op if Sentry reporting is disabled.
8
9
Dmitry Vedenko
10
11
**********************************************************************/
12
13
#ifndef __AUDACITY_SENTRY__
14
#define __AUDACITY_SENTRY__
15
16
#ifdef HAS_SENTRY_REPORTING
17
# include "
SentryReport.h
"
18
19
# define ADD_EXCEPTION_CONTEXT(name, value) audacity::sentry::AddExceptionContext(name, value)
20
#else
21
# define ADD_EXCEPTION_CONTEXT(name, value)
22
#endif
// HAS_SENTRY_REPORTING
23
24
25
#endif
/* __AUDACITY_SENTRY__ */
SentryReport.h
Declare a class to report errors to Sentry.
Generated by
1.9.3