Skip to content

Commit

Permalink
Add changelog item
Browse files Browse the repository at this point in the history
  • Loading branch information
jvillafanez committed Nov 28, 2019
1 parent 9e1b300 commit 3674fa0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions changelog/unreleased/36413
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

0 comments on commit 3674fa0

Please sign in to comment.