Fantom-foundation / Aida

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

Improved error logging #1191

Closed cabrador closed 1 month ago

cabrador commented 1 month ago

Description

This PR changes the way Aida gathers and report errors with --continue-on-failure enabled.

ErrorLogger now logs all gather errors using Errorf method with this format: #number: error.

After that it returns run failed as an error to make the run fail. This improves the readability of each error and avoids duplicate logging.

Example:

Screenshot 2024-10-07 at 9 50 06

Type of change