-
Notifications
You must be signed in to change notification settings - Fork 478
Closed
Labels
Description
We are using 4.8.50
of gitlab4j-api
.
We experienced that GitLab returns errors e.g. in case of POST api/v4/groups
as
{"error":"path is missing"}
Hence org.gitlab4j.api.GitLabApiException.GitLabApiException(Response)
fails to parse the body, because it only supports this structure:
public class ErrorMessage {
private String message;
...
}
So we have no chance to get the error message.
So it would be very helpful to support also error
, so the message
of GitLabApiException
is filled with the error message.
mdeknowis, johbossle, mlaknowis, skliche and mmeknowis