Fantom-foundation / Aida

Aida is a block-processing testing infrastructure for EVM-compatible chains.
GNU Lesser General Public License v3.0
4 stars 12 forks source link

Capture stack trace when recovering from panic #1126

Closed HerbertJordan closed 2 months ago

HerbertJordan commented 2 months ago

Description

This PR improves the reporting of recovered panics in the Aida executor.

Before this change, recovered panics are losing their stack trace when being forwarded. This makes identifying the source of the panic hard.

With this change, the stack trace of the location causing the panic gets recorded.

Type of change