public void ReportException(Exception exception, byte[] errorScreenShot, string screnshotName, string url, StackTrace reportingStacktrace) { var storage = new TelluriumErrorReportScreenshotStorage(reportOutputDir, ciAdapter); var imgPath = storage.PersistErrorScreenshot(errorScreenShot, screnshotName); AppendEntryToReport(exception, url, reportingStacktrace, imgPath); }
public void ReportException(Exception exception, byte[] errorScreenShot, string screnshotName) { var storage = new TelluriumErrorReportScreenshotStorage(reportOutputDir, ciAdapter); var imgPath = storage.PersistErrorScreenshot(errorScreenShot, screnshotName); AppendImageToReport(imgPath, $"{exception.Message}\r\n{exception.StackTrace}"); }