Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
512eea1a
Commit
512eea1a
authored
Aug 17, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unnecessary method handler.
parent
5c3c2e2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
handler.php
system/exception/handler.php
+1
-11
No files found.
system/exception/handler.php
View file @
512eea1a
...
...
@@ -83,7 +83,7 @@ class Handler {
*/
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 @@ class Handler {
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'
);
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment