@@ -159,8 +159,7 @@ discard block |
||
| 159 | 159 | throw new RequestException($this->xTranslator->trans('errors.upload.access'));
|
| 160 | 160 | } |
| 161 | 161 | return $sUploadDir; |
| 162 | - } |
|
| 163 | - catch(FilesystemException $e) |
|
| 162 | + } catch(FilesystemException $e) |
|
| 164 | 163 | {
|
| 165 | 164 | jaxon()->logger()->error('Filesystem error', ['message' => $e->getMessage()]);
|
| 166 | 165 | throw new RequestException($this->xTranslator->trans('errors.upload.access'));
|
@@ -265,8 +264,7 @@ discard block |
||
| 265 | 264 | {
|
| 266 | 265 | $aFiles['user']->filesystem()->write($aFiles['user']->path(), $aFiles['temp']->getStream()); |
| 267 | 266 | } |
| 268 | - } |
|
| 269 | - catch(FilesystemException $e) |
|
| 267 | + } catch(FilesystemException $e) |
|
| 270 | 268 | {
|
| 271 | 269 | jaxon()->logger()->error('Filesystem error', ['message' => $e->getMessage()]);
|
| 272 | 270 | throw new RequestException($this->xTranslator->trans('errors.upload.access'));
|
@@ -300,8 +298,7 @@ discard block |
||
| 300 | 298 | try |
| 301 | 299 | {
|
| 302 | 300 | $this->xFileStorage->filesystem()->write($sUploadDir . $sTempFile . '.json', json_encode($aFiles)); |
| 303 | - } |
|
| 304 | - catch(FilesystemException $e) |
|
| 301 | + } catch(FilesystemException $e) |
|
| 305 | 302 | {
|
| 306 | 303 | jaxon()->logger()->error('Filesystem error', ['message' => $e->getMessage()]);
|
| 307 | 304 | throw new RequestException($this->xTranslator->trans('errors.upload.access'));
|
@@ -333,8 +330,7 @@ discard block |
||
| 333 | 330 | throw new RequestException($this->xTranslator->trans('errors.upload.access'));
|
| 334 | 331 | } |
| 335 | 332 | return $sUploadTempFile; |
| 336 | - } |
|
| 337 | - catch(FilesystemException $e) |
|
| 333 | + } catch(FilesystemException $e) |
|
| 338 | 334 | {
|
| 339 | 335 | jaxon()->logger()->error('Filesystem error', ['message' => $e->getMessage()]);
|
| 340 | 336 | throw new RequestException($this->xTranslator->trans('errors.upload.access'));
|
@@ -357,8 +353,7 @@ discard block |
||
| 357 | 353 | try |
| 358 | 354 | {
|
| 359 | 355 | $aFiles = json_decode($xFileSystem->read($sUploadTempFile), true); |
| 360 | - } |
|
| 361 | - catch(FilesystemException $e) |
|
| 356 | + } catch(FilesystemException $e) |
|
| 362 | 357 | {
|
| 363 | 358 | throw new RequestException($this->xTranslator->trans('errors.upload.access'));
|
| 364 | 359 | } |
@@ -374,8 +369,7 @@ discard block |
||
| 374 | 369 | try |
| 375 | 370 | {
|
| 376 | 371 | $xFileSystem->delete($sUploadTempFile); |
| 377 | - } |
|
| 378 | - catch(FilesystemException $e) |
|
| 372 | + } catch(FilesystemException $e) |
|
| 379 | 373 | {
|
| 380 | 374 | jaxon()->logger()->warning('Filesystem error', ['message' => $e->getMessage()]);
|
| 381 | 375 | } |