Currently, Sentry structured logs are flushed right before the on_crash callback is invoked when a fatal error occurs. This means that any messages logged from within a custom crash handler are not uploaded.
The Unreal SDK defines its own on_crash handler that prints useful diagnostic messages (such as the error callstack, screenshot-capture status, etc.). However, due to this limitation those messages are not uploaded to Sentry and are only available in the local game log file.
Related issues: