1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-07 13:46:38 +02:00

Curly braces on same line for try/catch, as suggested by @stof in

https://github.com/Seldaek/monolog/pull/76#r743295
This commit is contained in:
Marc Abramowitz
2012-04-27 07:06:28 -07:00
parent 44d2441782
commit 4830b92725

View File

@@ -76,12 +76,9 @@ class RavenHandlerTest extends TestCase
$ravenClient = $this->getRavenClient(); $ravenClient = $this->getRavenClient();
$handler = $this->getHandler($ravenClient); $handler = $this->getHandler($ravenClient);
try try {
{
$this->methodThatThrowsAnException(); $this->methodThatThrowsAnException();
} } catch (\Exception $e) {
catch (\Exception $e)
{
$record = $this->getRecord(Logger::ERROR, $e->getMessage(), array('exception' => $e)); $record = $this->getRecord(Logger::ERROR, $e->getMessage(), array('exception' => $e));
$handler->handle($record); $handler->handle($record);
} }