mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 00:56:08 +02:00
CS fixes and set the default NewRelicHandler level to ERROR, refs #105
This commit is contained in:
@@ -64,7 +64,7 @@ class CubeHandler extends AbstractProcessingHandler
|
||||
protected function connectUdp()
|
||||
{
|
||||
if (!extension_loaded('sockets')) {
|
||||
throw new \LogicException('The sockets extension is needed to use udp URLs with the CubeHandler');
|
||||
throw new MissingExtensionException('The sockets extension is required to use udp URLs with the CubeHandler');
|
||||
}
|
||||
|
||||
$this->udpConnection = socket_create(AF_INET, SOCK_DGRAM, 0);
|
||||
|
Reference in New Issue
Block a user