diff --git a/docuware-connector/processes/UploadService.p.json b/docuware-connector/processes/UploadService.p.json index 3e6b593..ddae0a4 100644 --- a/docuware-connector/processes/UploadService.p.json +++ b/docuware-connector/processes/UploadService.p.json @@ -72,8 +72,6 @@ "} catch(DocuWareException dex) {", " in.error = BpmError.create(\"com:eon:ivy:shared:docuware:rest\").withMessage(dex.getErrorMessage()).build();", " ivy.log.error(\"Document upload failed. Error: \" + dex.getErrorMessage());", - "} catch(Exception e) {", - " ivy.log.error(e.getMessage());", "}" ], "templateParams" : { @@ -198,11 +196,7 @@ "} catch(DocuWareException dex) {", " in.error = BpmError.create(\"com:eon:ivy:shared:docuware:rest\").withMessage(dex.getErrorMessage()).build();", " in.error.setAttribute(\"RestClientResponseStatusCode\", dex.httpCode);", - " ivy.log.error(\"Document upload failed. Error: \" + dex.getErrorMessage());", - " ", - "} catch(Exception e) {", - " ivy.log.error(e.getMessage());", - " ", + " ivy.log.error(\"Document upload failed. Error: \" + dex.getErrorMessage()); ", "}" ], "templateParams" : { @@ -344,4 +338,4 @@ }, "connect" : { "id" : "f21", "to" : "f10", "via" : [ { "x" : 520, "y" : 328 }, { "x" : 520, "y" : 240 } ] } } ] -} +} \ No newline at end of file