function paintException($exception) { $this->captureStart(); $this->logger->paintException($exception); $this->captureStop(); }