From 9590a45b413871701faf84d02d908e1d7ae549d5 Mon Sep 17 00:00:00 2001 From: pofider Date: Wed, 11 Dec 2019 17:56:21 +0100 Subject: [PATCH] remove verbose --- jsreport.Local/Internal/LocalUtilityReportingService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }