summaryrefslogtreecommitdiffstats
path: root/src/daemon/sentry-native/sentry-native.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/sentry-native/sentry-native.c')
-rw-r--r--src/daemon/sentry-native/sentry-native.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/daemon/sentry-native/sentry-native.c b/src/daemon/sentry-native/sentry-native.c
index 3594c1fffa..04246f1f7d 100644
--- a/src/daemon/sentry-native/sentry-native.c
+++ b/src/daemon/sentry-native/sentry-native.c
@@ -38,6 +38,10 @@ void sentry_native_init(void)
sentry_options_set_debug(options, 1);
#endif
+#ifdef ENABLE_LIBBACKTRACE
+ sentry_options_add_attachment(options, bt_path);
+#endif
+
sentry_init(options);
}