@@ -126,8 +126,7 @@ discard block |
||
| 126 | 126 | throw new RequestException($this->xTranslator->trans('errors.upload.access')); |
| 127 | 127 | } |
| 128 | 128 | return $sUploadDir; |
| 129 | - } |
|
| 130 | - catch(FilesystemException $e) |
|
| 129 | + } catch(FilesystemException $e) |
|
| 131 | 130 | { |
| 132 | 131 | $this->xLogger->error('Filesystem error.', ['message' => $e->getMessage()]); |
| 133 | 132 | throw new RequestException($this->xTranslator->trans('errors.upload.access')); |
@@ -235,8 +234,7 @@ discard block |
||
| 235 | 234 | $xContent = $aFiles['temp']->getStream(); |
| 236 | 235 | $aFiles['user']->filesystem()->write($sPath, $xContent); |
| 237 | 236 | } |
| 238 | - } |
|
| 239 | - catch(FilesystemException $e) |
|
| 237 | + } catch(FilesystemException $e) |
|
| 240 | 238 | { |
| 241 | 239 | $this->xLogger->error('Filesystem error.', ['message' => $e->getMessage()]); |
| 242 | 240 | throw new RequestException($this->xTranslator->trans('errors.upload.access')); |