mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 05:07:36 +02:00
Merge pull request #1368 from gmsantos/patch-1
Update exception message in InsightOpsHandler
This commit is contained in:
@@ -38,7 +38,7 @@ class InsightOpsHandler extends SocketHandler
|
|||||||
public function __construct($token, $region = 'us', $useSSL = true, $level = Logger::DEBUG, $bubble = true)
|
public function __construct($token, $region = 'us', $useSSL = true, $level = Logger::DEBUG, $bubble = true)
|
||||||
{
|
{
|
||||||
if ($useSSL && !extension_loaded('openssl')) {
|
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
|
$endpoint = $useSSL
|
||||||
|
Reference in New Issue
Block a user