Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

**Fixes**:

- Fix crash context missing from PlayStation crash reports when an `on_crash` callback is set. ([#2133](https://github.com/getsentry/sentry-native/pull/2133))

## 0.17.0

**Breaking / Important behavior changes**:
Expand Down
4 changes: 3 additions & 1 deletion src/sentry_logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ void sentry__logger_disable(void);
/**
* Signal/async-safe logging macro for use in signal handlers or other
* contexts where stdio and malloc are unsafe. Only supports static strings.
* No-op on PlayStation, where writing to stderr from the coredump handler
* crashes the handler.
*/
#ifdef SENTRY_PLATFORM_UNIX
#if defined(SENTRY_PLATFORM_UNIX) && !defined(SENTRY_PLATFORM_PS)
# include <unistd.h>
# define SENTRY_SIGNAL_SAFE_LOG(msg) \
do { \
Expand Down
Loading