diff --git a/src/AtolOnline/Exceptions/AtolException.php b/src/AtolOnline/Exceptions/AtolException.php index ddcbe9b..dbf4d18 100644 --- a/src/AtolOnline/Exceptions/AtolException.php +++ b/src/AtolOnline/Exceptions/AtolException.php @@ -33,6 +33,7 @@ class AtolException extends Exception */ public function __construct($message = "", $code = 0, Throwable $previous = null) { + $message = $message ?: $this->message; if ($this->getFfdTags()) { $message .= ' [FFD tags: '.implode(', ', $this->getFfdTags()).']'; }