mirror of
https://github.com/anthonyaxenov/atol-online.git
synced 2024-11-26 09:54:15 +00:00
Фикс сообщений в исключениях
This commit is contained in:
parent
e1fb74ac01
commit
aab68646e6
@ -33,6 +33,7 @@ class AtolException extends Exception
|
|||||||
*/
|
*/
|
||||||
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
||||||
{
|
{
|
||||||
|
$message = $message ?: $this->message;
|
||||||
if ($this->getFfdTags()) {
|
if ($this->getFfdTags()) {
|
||||||
$message .= ' [FFD tags: '.implode(', ', $this->getFfdTags()).']';
|
$message .= ' [FFD tags: '.implode(', ', $this->getFfdTags()).']';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user