Skip to content
Snippets Groups Projects
Commit 7125e98f authored by Sebastian Kehr's avatar Sebastian Kehr :rowboat_tone2:
Browse files

refs #16994 [fid] use correct key to access error message

parent e314e6ec
No related merge requests found
......@@ -706,7 +706,7 @@ class Client
{
$errorCode = $response->getStatusCode();
$error = json_decode((string)$response->getBody(), true);
throw new ClientException($error['message'], $errorCode);
throw new ClientException($error['detail'], $errorCode);
}
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment