| @@ 299-305 (lines=7) @@ | ||
| 296 | ||
| 297 | } catch (\Exception $e) { |
|
| 298 | // query whether or not debug mode has been enabled |
|
| 299 | if ($this->getSubject()->isDebugMode()) { |
|
| 300 | $this->getSubject() |
|
| 301 | ->getSystemLogger() |
|
| 302 | ->warning($this->getSubject()->appendExceptionSuffix($e->getMessage())); |
|
| 303 | } else { |
|
| 304 | throw $e; |
|
| 305 | } |
|
| 306 | } |
|
| 307 | } |
|
| 308 | } |
|
| @@ 364-370 (lines=7) @@ | ||
| 361 | ||
| 362 | } catch (\Exception $e) { |
|
| 363 | // query whether or not debug mode has been enabled |
|
| 364 | if ($this->getSubject()->isDebugMode()) { |
|
| 365 | $this->getSubject() |
|
| 366 | ->getSystemLogger() |
|
| 367 | ->warning($this->getSubject()->appendExceptionSuffix($e->getMessage())); |
|
| 368 | } else { |
|
| 369 | throw $e; |
|
| 370 | } |
|
| 371 | } |
|
| 372 | } |
|
| 373 | ||