diff --git a/src/RollbarLogger.php b/src/RollbarLogger.php index 994fdf00..dfeb8695 100644 --- a/src/RollbarLogger.php +++ b/src/RollbarLogger.php @@ -118,7 +118,9 @@ public function log($level, $toLog, array $context = array(), $isUncaught = fals $this->verboseLogger()->error('Occurrence rejected by the SDK: ' . $response); } elseif ($response->getStatus() >= 400) { $info = $response->getInfo(); - $this->verboseLogger()->error('Occurrence rejected by the API: ' . (isset($info['message']) ? $info['message'] : 'message not set')); + $this->verboseLogger()->error( + 'Occurrence rejected by the API: ' . (isset($info['message']) ? $info['message'] : 'message not set') + ); } else { $this->verboseLogger()->info('Occurrence successfully logged'); }