| @@ 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 | } |
|
| @@ 366-372 (lines=7) @@ | ||
| 363 | ||
| 364 | } catch (\Exception $e) { |
|
| 365 | // query whether or not debug mode has been enabled |
|
| 366 | if ($this->getSubject()->isDebugMode()) { |
|
| 367 | $this->getSubject() |
|
| 368 | ->getSystemLogger() |
|
| 369 | ->warning($this->getSubject()->appendExceptionSuffix($e->getMessage())); |
|
| 370 | } else { |
|
| 371 | throw $e; |
|
| 372 | } |
|
| 373 | } |
|
| 374 | } |
|
| 375 | ||