From 3674fa0c9b0ddb6c91996b137f435be78a1b24ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Pablo=20Villaf=C3=A1=C3=B1ez?= Date: Thu, 28 Nov 2019 11:34:52 +0100 Subject: [PATCH] Add changelog item --- changelog/unreleased/36413 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 changelog/unreleased/36413 diff --git a/changelog/unreleased/36413 b/changelog/unreleased/36413 new file mode 100644 index 000000000000..a3aa30733ed7 --- /dev/null +++ b/changelog/unreleased/36413 @@ -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 \ No newline at end of file