- 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:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user