-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e1b300
commit 3674fa0
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Bugfix: Set 599 HTTP code on error | ||
|
||
Previously, a hard crash, such as DB being down, was being reported with a stacktrace | ||
and a 200 HTTP code. In order to homogenize the behaviour with all the endpoints, we've | ||
changed the behaviour to return a 599 HTTP code and an empty content. | ||
|
||
In addition, we've included a new option in the config.php, "crashdirectory", which | ||
defaults to the "datadirectory" set, where the crash logs will be created. Note that | ||
normal errors will still be reported normally and will log into the owncloud.log file. | ||
|
||
https://github.com/owncloud/core/pull/36413 |