mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-13 03:43:45 +02:00
Tests a'hoy
This commit is contained in:
@@ -28,9 +28,9 @@ class DisplayException extends PterodactylException
|
||||
* @param string $message
|
||||
* @param Throwable|null $previous
|
||||
* @param string $level
|
||||
* @internal param mixed $log
|
||||
* @param int $code
|
||||
*/
|
||||
public function __construct($message, Throwable $previous = null, $level = self::LEVEL_ERROR)
|
||||
public function __construct($message, Throwable $previous = null, $level = self::LEVEL_ERROR, $code = 0)
|
||||
{
|
||||
$this->level = $level;
|
||||
|
||||
@@ -38,7 +38,7 @@ class DisplayException extends PterodactylException
|
||||
Log::{$level}($previous);
|
||||
}
|
||||
|
||||
parent::__construct($message);
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user