reportportal / agent-net-specflow

Report Portal agent for SpecFlow
Apache License 2.0
10 stars 5 forks source link

Reporting is broken if users code throws exception in event handlers #52

Closed nvborisenko closed 3 years ago

nvborisenko commented 4 years ago

https://github.com/reportportal/agent-net-specflow/blob/e77b9af6d560ae74b88f58130197b28021177f55/src/ReportPortal.SpecFlowPlugin/ReportPortalHooks.cs#L46

We need wrap it with try/catch block, ignore exceptions, and put it into internal logs.

nvborisenko commented 4 years ago

https://codeshare.io/5z1x0j

nvborisenko commented 3 years ago

Not reproducible.