Find Uncaught Exceptions in Event Log Files
If an unhandled exception occurs during the execution of your platform event Apex
trigger, you can get information about the exception using event log files in Event Monitoring.
Examples of an unhandled exception include an uncatchable limit exception or an exception that the
trigger doesn’t catch.
To retrieve information about the unhandled exception, query EventLogFile. The event type for unhandled exceptions is Apex Unexpected Exception Event Type (ApexUnexpectedException).