Closed
Description
The Gitlab\HttpClient\Listener\ErrorListener
will produce a Fatal error (Wrong parameters for ErrorException) when the Gitlab API returns a error message that contains an array instead of a string message. Offending line: 46
{"message":{"path":["has already been taken"]}}
This will mostly happen when an data validation error occurs. See Data validation and error reporting for possible response formats.
A simple solution could be to json encode the message when it's not a string.
Used versions: GitLab 7.4.0; GitLab API v3
Metadata
Metadata
Assignees
Labels
No labels