diff options
Diffstat (limited to 'openvpn/src/openvpn/error.c')
| -rw-r--r-- | openvpn/src/openvpn/error.c | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/openvpn/src/openvpn/error.c b/openvpn/src/openvpn/error.c index ebe9a52d..98611a1b 100644 --- a/openvpn/src/openvpn/error.c +++ b/openvpn/src/openvpn/error.c @@ -57,6 +57,10 @@  #endif  #endif +#ifdef GOOGLE_BREAKPAD +#include "breakpad.h" +#endif +  /* Globals */  unsigned int x_debug_level; /* GLOBAL */ @@ -399,6 +403,9 @@ dont_mute (unsigned int flags)  void  assert_failed (const char *filename, int line)  { +#ifdef GOOGLE_BREAKPAD +    breakpad_dodump(); +#endif    msg (M_FATAL, "Assertion failed at %s:%d", filename, line);  }  | 
