mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-23 03:44:02 +00:00
Move Query exceptions to debug level > 1
This commit is contained in:
parent
902ba81e02
commit
854479180f
@ -633,8 +633,10 @@ class Server{
|
|||||||
$this->queryHandler->handle($address, $port, $payload);
|
$this->queryHandler->handle($address, $port, $payload);
|
||||||
}
|
}
|
||||||
}catch(\Exception $e){
|
}catch(\Exception $e){
|
||||||
if($this->logger instanceof MainLogger){
|
if(\pocketmine\DEBUG > 1){
|
||||||
$this->logger->logException($e);
|
if($this->logger instanceof MainLogger){
|
||||||
|
$this->logger->logException($e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->mainInterface->blockAddress($address, 600);
|
$this->mainInterface->blockAddress($address, 600);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user