FIX_ERROR_DISPLAY_IMAGE_CHANGES

This commit is contained in:
VENKATESHWARAN 2026-04-27 15:06:57 +05:30
parent 0fd039d3bd
commit 7e4e6f388e
2 changed files with 10 additions and 10 deletions

View File

@ -4590,9 +4590,9 @@ class EmployeeRestController extends AdminController
}
return $this->respondCreated($responce);
} catch (\Exception $e) {
// return $this->failServerError($e->getMessage());
log_message('error', 'Error in hrFileUpload: ' . $e->getMessage() . ' in file ' . $e->getFile() . ' on line ' . $e->getLine() . ' Trace: ' . $e->getTraceAsString());
return $this->respondCreated(['status' => false, 'message' => $e->getMessage(), 'data' => []]);
}
}

View File

@ -143,7 +143,7 @@ class AclFilter implements FilterInterface
$response = service('response');
$response->setStatusCode(403);
$response->setBody(view('errors/404', [
$response->setBody(view('errors/403', [
'message' => '403 Access denied - You do not have permission to access this resource'
]));