From 89ae0db8723e55c18024082708033f6251768ac2 Mon Sep 17 00:00:00 2001 From: Ido Shemesh Date: Tue, 1 Nov 2022 20:53:04 -0700 Subject: [PATCH] latest changes for release --- Makefile | 3 ++- sentry-native | 2 +- src/example.c | 9 +++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 325872c..2c76b58 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ +SENTRY_AUTH_TOKEN=2cf09ac0cc6a4449a91e45ad00e77345e76eeb1a27394ebda2eda3c726ffbf9a SENTRY_ORG=testorg-az -SENTRY_PROJECT=sentry-native +SENTRY_PROJECT=native VERSION ?= $(shell sentry-cli releases propose-version) CMAKE=cmake diff --git a/sentry-native b/sentry-native index 1c04660..58cbac4 160000 --- a/sentry-native +++ b/sentry-native @@ -1 +1 @@ -Subproject commit 1c046603d9c61e1790a80ac2f8fb80c255152225 +Subproject commit 58cbac43ab89c803af37aa124d526be82575072d diff --git a/src/example.c b/src/example.c index 4264700..f546906 100644 --- a/src/example.c +++ b/src/example.c @@ -65,6 +65,15 @@ void send_event(void) sentry_set_tag("key_name", "value"); sentry_capture_event(event); + // const auto forceQuitEvent = sentry_value_new_message_event( + // "fatal", + // nullptr, + // "inErrorDescription"); + + // auto exception = sentry_value_new_exception(inErrorDescription, inErrorDescription); + + // sentry_event_add_exception(forceQuitEvent, exception); + // sentry_capture_event(forceQuitEvent); } // use `make run message` or `make run crash`