We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exemple of good implementation :
No need to include the decodedToken in the log->error() arguments, it's already in the log context.
try { $validToken = $this->spotfireAccessDBService->grantAccess($userId ,$ulId, $this->settings['appSettings']['sessionLength' ]); $this->response->getBody()->write(json_encode(new GetSpotfireTokenResponse($validToken->token, $validToken->token_expiration))); return $this->response; } catch(Throwable $exception) { $this->logger->error("Error while getting Spotfire access token",["validToken"=>$validToken]); return $this->response->withStatus(500, "Error while getting Spotfire access token") ; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
exemple of good implementation :
No need to include the decodedToken in the log->error() arguments, it's already in the log context.
The text was updated successfully, but these errors were encountered: