1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 14:16:42 +02:00

Fix unhandled throwable

This commit is contained in:
Avtandil Kikabidze
2018-04-07 04:38:38 +04:00
parent 569cdd635d
commit aad9de4d0d
2 changed files with 4 additions and 2 deletions

View File

@@ -196,7 +196,9 @@ class ElasticSearchHandlerTest extends TestCase
0 => 'bar',
];
$hosts = [['host' => '127.0.0.1', 'port' => 9200]];
$client = ClientBuilder::create()
->setHosts($hosts)
->build();
$handler = new ElasticSearchHandler($client, $this->options);
try {