Permalink
Browse files

Stop using Whoops.

  • Loading branch information...
taylorotwell committed Jun 11, 2014
1 parent 5c591f9 commit 7f514b45fa3c1e38e026ef57696922fb2e996e31
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/Illuminate/Exception/ExceptionServiceProvider.php
@@ -4,6 +4,7 @@
use Whoops\Handler\PrettyPageHandler;
use Whoops\Handler\JsonResponseHandler;
use Illuminate\Support\ServiceProvider;
use Symfony\Component\Debug\ExceptionHandler as SymfonyExceptionHandler;
class ExceptionServiceProvider extends ServiceProvider {
@@ -62,7 +63,7 @@ protected function registerPlainDisplayer()
}
else
{
return new PlainDisplayer;
return new SymfonyDisplayer(new SymfonyExceptionHandler(false));
}
});
}
@@ -78,7 +79,7 @@ protected function registerDebugDisplayer()
$this->app['exception.debug'] = $this->app->share(function($app)
{
return new WhoopsDisplayer($app['whoops'], $app->runningInConsole());
return new SymfonyDisplayer(new SymfonyExceptionHandler);
});
}

3 comments on commit 7f514b4

@GrahamCampbell

This comment has been minimized.

Show comment
Hide comment
@GrahamCampbell

GrahamCampbell Jun 11, 2014

Member

Oh noes! What was it that put you off it so much?

Member

GrahamCampbell replied Jun 11, 2014

Oh noes! What was it that put you off it so much?

@GrahamCampbell

This comment has been minimized.

Show comment
Hide comment
@GrahamCampbell

GrahamCampbell Jun 11, 2014

Member

Also, you've left all the whoops code in here. Should we move the dependency in composer to "require-dev" and "suggests"?

Member

GrahamCampbell replied Jun 11, 2014

Also, you've left all the whoops code in here. Should we move the dependency in composer to "require-dev" and "suggests"?

@Anahkiasen

This comment has been minimized.

Show comment
Hide comment
@Anahkiasen
Contributor

Anahkiasen replied Jun 11, 2014

Please sign in to comment.