test #26

Merged
juan merged 10 commits from test into dev 2023-02-23 19:28:46 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit dd7185d5dd - Show all commits

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (23.6.3) stable; urgency=low hedera-web (23.6.4) stable; urgency=low
* Initial Release. * Initial Release.

View File

@ -1,6 +1,6 @@
{ {
"name": "hedera-web", "name": "hedera-web",
"version": "23.6.3", "version": "23.6.4",
"description": "Verdnatura web page", "description": "Verdnatura web page",
"license": "GPL-3.0", "license": "GPL-3.0",
"repository": { "repository": {

View File

@ -79,13 +79,13 @@ class JsonService extends RestService {
if (_ENABLE_DEBUG || $e instanceof Lib\UserException) { if (_ENABLE_DEBUG || $e instanceof Lib\UserException) {
$json->exception = get_class($e); $json->exception = get_class($e);
$json->message = $e->getMessage(); $json->message = $e->getMessage();
$json->code = $e->getCode();
} else { } else {
$json->exception = 'Exception'; $json->exception = 'Exception';
$json->message = s('Something went wrong'); $json->message = s('Something went wrong');
} }
if (_ENABLE_DEBUG) { if (_ENABLE_DEBUG) {
$json->code = $e->getCode();
$json->file = $e->getFile(); $json->file = $e->getFile();
$json->line = $e->getLine(); $json->line = $e->getLine();
$json->trace = $e->getTrace(); $json->trace = $e->getTrace();