We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a465cb5 commit c1b5bbdCopy full SHA for c1b5bbd
1 file changed
apps/workflowengine/lib/Controller/AWorkflowController.php
@@ -139,7 +139,7 @@ public function update(
139
} catch (\DomainException $e) {
140
throw new OCSForbiddenException($e->getMessage(), $e);
141
} catch(DBALException $e) {
142
- throw new OCSException('An internal error occurred', $e);
+ throw new OCSException('An internal error occurred', $e->getCode(), $e);
143
}
144
145
@@ -157,7 +157,7 @@ public function destroy(int $id): DataResponse {
157
158
159
160
161
162
163
0 commit comments