HOR-1573

HOR-1573

HOR-1573
This commit is contained in:
Paula V. Quispe
2016-08-04 14:56:58 -04:00
parent 5413d93e6b
commit 0800a03385
32 changed files with 118 additions and 1025 deletions

View File

@@ -174,7 +174,10 @@ if (isset( $_REQUEST['action'] )) {
$varEcho = '{success: true}';
G::outRes( $varEcho );
} catch (Exception $ex) {
echo '{success: false, error: ' . $ex->getMessage() . '}';
$token = strtotime("now");
PMException::registerErrorLog($ex, $token);
$resJson = '{success: false, error: ' . G::LoadTranslation("ID_EXCEPTION_LOG_INTERFAZ", array($token)) . '}';
G::outRes( $resJson );
}
break;
default: