1
0
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:
Jordi Boggiano
2013-07-28 23:10:25 +02:00
parent 043aabcf2f
commit df1f411378
2 changed files with 27 additions and 21 deletions

View File

@@ -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);