HOR-1084-A "Registro de operaciones desde Mobile..." SOLVED
This commit is contained in:
@@ -302,6 +302,8 @@ class Light
|
|||||||
$response['caseIndex'] = $aData['INDEX'];
|
$response['caseIndex'] = $aData['INDEX'];
|
||||||
$response['caseNumber'] = $aData['CASE_NUMBER'];
|
$response['caseNumber'] = $aData['CASE_NUMBER'];
|
||||||
|
|
||||||
|
//Log
|
||||||
|
\Bootstrap::registerMonolog('create-case', 200, "Create case", ['application_uid' => $aData['APPLICATION'], 'usr_uid' => $userId], SYS_SYS, 'mobileLogs.log');
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$response['status'] = 'failure';
|
$response['status'] = 'failure';
|
||||||
$response['message'] = $e->getMessage();
|
$response['message'] = $e->getMessage();
|
||||||
@@ -532,6 +534,9 @@ class Light
|
|||||||
unset($array['message']);
|
unset($array['message']);
|
||||||
unset($array['timestamp']);
|
unset($array['timestamp']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Log
|
||||||
|
\Bootstrap::registerMonolog('route-case', 200, 'Route case', ['application_uid' => $applicationUid, 'usr_uid' => $userUid], SYS_SYS, 'mobileLogs.log');
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user