removed unnecessary method handler.
This commit is contained in:
parent
5c3c2e2d9c
commit
512eea1a4e
|
@ -83,7 +83,7 @@ private function log()
|
|||
*/
|
||||
private function get_response($detailed)
|
||||
{
|
||||
return ($detailed) ? $this->detailed_response() : $this->generic_response();
|
||||
return ($detailed) ? $this->detailed_response() : Response::error('500');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -104,14 +104,4 @@ private function detailed_response()
|
|||
return Response::make(View::make('error.exception', $data), 500);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the generic error report for the exception.
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
private function generic_response()
|
||||
{
|
||||
return Response::error('500');
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue