@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | ]); |
89 | 89 | } catch (Exception $e) { |
90 | 90 | $this->logger->logException($e, ['message' => 'Exception when creating a new file through direct editing']); |
91 | - return new DataResponse(['message' => 'Failed to create file: ' . $e->getMessage()], Http::STATUS_FORBIDDEN); |
|
91 | + return new DataResponse(['message' => 'Failed to create file: '.$e->getMessage()], Http::STATUS_FORBIDDEN); |
|
92 | 92 | } |
93 | 93 | } |
94 | 94 | |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | ]); |
109 | 109 | } catch (Exception $e) { |
110 | 110 | $this->logger->logException($e, ['message' => 'Exception when opening a file through direct editing']); |
111 | - return new DataResponse(['message' => 'Failed to open file: ' . $e->getMessage()], Http::STATUS_FORBIDDEN); |
|
111 | + return new DataResponse(['message' => 'Failed to open file: '.$e->getMessage()], Http::STATUS_FORBIDDEN); |
|
112 | 112 | } |
113 | 113 | } |
114 | 114 | |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | return new DataResponse($this->directEditingManager->getTemplates($editorId, $creatorId)); |
128 | 128 | } catch (Exception $e) { |
129 | 129 | $this->logger->logException($e); |
130 | - return new DataResponse(['message' => 'Failed to obtain template list: ' . $e->getMessage()], Http::STATUS_INTERNAL_SERVER_ERROR); |
|
130 | + return new DataResponse(['message' => 'Failed to obtain template list: '.$e->getMessage()], Http::STATUS_INTERNAL_SERVER_ERROR); |
|
131 | 131 | } |
132 | 132 | } |
133 | 133 | } |