- moved ajax endpoints (connections, systems) into new REST API endpoints, #274

- improved error handling in case an Exception is thrown
This commit is contained in:
Mark Friedrich
2018-11-16 19:09:12 +01:00
parent 07d5be71b2
commit 703091949b
28 changed files with 754 additions and 904 deletions

View File

@@ -690,7 +690,7 @@ class Controller {
$errorData['code'],
$errorData['status'],
$errorData['text'],
$f3->get('DEBUG') === 3 ? $errorData['trace'] : null
$f3->get('DEBUG') >= 1 ? $errorData['trace'] : null
);
}