1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 04:37:38 +02:00

Merge pull request #1368 from gmsantos/patch-1

Update exception message in InsightOpsHandler
This commit is contained in:
Jordi Boggiano
2019-09-02 08:54:59 +02:00
committed by GitHub

View File

@@ -38,7 +38,7 @@ class InsightOpsHandler extends SocketHandler
public function __construct($token, $region = 'us', $useSSL = true, $level = Logger::DEBUG, $bubble = true)
{
if ($useSSL && !extension_loaded('openssl')) {
throw new MissingExtensionException('The OpenSSL PHP plugin is required to use SSL encrypted connection for LogEntriesHandler');
throw new MissingExtensionException('The OpenSSL PHP plugin is required to use SSL encrypted connection for InsightOpsHandler');
}
$endpoint = $useSSL