diff --git a/jsreport.Local/Internal/LocalUtilityReportingService.cs b/jsreport.Local/Internal/LocalUtilityReportingService.cs index a4572d3..4974d34 100644 --- a/jsreport.Local/Internal/LocalUtilityReportingService.cs +++ b/jsreport.Local/Internal/LocalUtilityReportingService.cs @@ -68,9 +68,9 @@ internal LocalUtilityReportingService(IReportingBinary binary, Configuration con var metaFile = Path.Combine(_tempPath, $"meta{Guid.NewGuid().ToString()}"); var keepAliveParam = _keepAlive ? "--keepAlive" : ""; - var output = await _binaryProcess.ExecuteExe($"render {keepAliveParam} --verbose --request=\"{reqFile}\" --out=\"{outFile}\" --meta=\"{metaFile}\"").ConfigureAwait(false); + var output = await _binaryProcess.ExecuteExe($"render {keepAliveParam} --request=\"{reqFile}\" --out=\"{outFile}\" --meta=\"{metaFile}\"").ConfigureAwait(false); if (output.IsError) - { + { throw new JsReportBinaryException("Error rendering report: " + output.Logs, output.Logs, output.Command); }