microsoft / microsoft-performance-toolkit-sdk

Software Development Kit for the Microsoft Performance ToolKit
MIT License
156 stars 55 forks source link

Record and expose failures during creation of data processors #330

Open jmaxson-ms opened 1 year ago

jmaxson-ms commented 1 year ago

When we run Engine.Process, errors are logged using an ILogger, but they are also stored and exposed through the RuntimeExecutionResults. However, when creating a data processor (Engine.Create), the errors are logged through ILogger, but not recorded anywhere. This makes it virtually impossible to act programmatically on this knowledge when the Engine is returned.

We need to record this error information in the Engine object.