Steps to reproduce:
Implementations of DebugLogger.Debug(), DebugLogger.Info(), DebugLogger.Warn() and DebugLogger.Error() do not print logs passed to them.
This is usually not an issue as internally in most places ReportGenerator is using *Format() variants (DebugFormat(), WarnFormat(), etc), which do print logs they receive. However, when an exception occurs in https://github.com/danielpalme/ReportGenerator/blob/v5.0.4/src/ReportGenerator.Core/Generator.cs#L151 catch block calls Error(). Because of that, exceptions that occur inside report generator aren't surfaced back to the editor and users cannot investigate the cause of a failure.
Actual results: No error when exception occurs in the Report Generator
Expected results: Editor console displays the error that Report Generator has encountered
Reproducible with versions: 1.2.5
Notes:
- No repro steps, as I couldn't get report generator to throw an exception, however, issue should be clear by looking at the code.