The great news is that it is working, and the mechanism can be improved further.
Currently, the formatting of the Event is as follows:
This links together two issues:
OSError
[WinError 1] Incorrect function: 'Z:\\Tribler\\lib\\aiohttp_apispec\\static'[<relief>-core PID:3512] 2024-06-03 00:13:38,464 - ERROR <exception_handler:141> CoreExceptionHandler.unhandled_error_observer(): Save the error to later report
and
CoreCrashedError
The Tribler core has unexpectedly finished with exit code 1 and status: 0.
The real issue with the stack trace is buried somewhere inside the event:
My proposition is that the real issue with its stack trace should be easily accessible in the report and should not be substituted by CoreCrashedError.
Also, it seems that the excessive core output is captured for the issue description:
[WinError 1] Incorrect function: 'Z:\\Tribler\\lib\\aiohttp_apispec\\static'[<relief>-core PID:3512] 2024-06-03 00:13:38,464 - ERROR <exception_handler:141> CoreExceptionHandler.unhandled_error_observer(): Save the error to later report
[<relief>-core PID:3512] 2024-06-03 00:13:38,464 - ERROR <exception_handler:141> CoreExceptionHandler.unhandled_error_observer(): Save the error to later report
We have the very first Sentry issue reported by @xoriole's new mechanism for error reporting.
The great news is that it is working, and the mechanism can be improved further.
Currently, the formatting of the Event is as follows:![image](https://github.com/Tribler/tribler/assets/13798583/05568d5c-4128-4584-8080-d960e099e415)
This links together two issues:
and
The real issue with the stack trace is buried somewhere inside the event:![image](https://github.com/Tribler/tribler/assets/13798583/6e366113-a70f-4b88-9715-28e96b8adccb)
My proposition is that the real issue with its stack trace should be easily accessible in the report and should not be substituted by CoreCrashedError. Also, it seems that the excessive core output is captured for the issue description:
Where the necessary part is
and the excessive is
Related:
8050