mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +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:
@@ -76,12 +76,9 @@ class RavenHandlerTest extends TestCase
|
||||
$ravenClient = $this->getRavenClient();
|
||||
$handler = $this->getHandler($ravenClient);
|
||||
|
||||
try
|
||||
{
|
||||
try {
|
||||
$this->methodThatThrowsAnException();
|
||||
}
|
||||
catch (\Exception $e)
|
||||
{
|
||||
} catch (\Exception $e) {
|
||||
$record = $this->getRecord(Logger::ERROR, $e->getMessage(), array('exception' => $e));
|
||||
$handler->handle($record);
|
||||
}
|
||||
|
Reference in New Issue
Block a user