Package: libgitlab-api-v4-perl
Version: 0.16-1
Severity: important

Dear Maintainer,

I am trying to use gitlab-api-v4 tool to get CI job output, but get
following output:

        malformed JSON string, neither array, object, number, string or atom, 
at character offset 0 (before "\x{1b}[0KRunning wit...") at 
/usr/share/perl5/GitLab/API/v4/RESTClient.pm line 179.

It seems that library assumes,

        # JSON decoding may fail. Catch it and provide a more contextually rich
        # error message?
        return $self->json->decode( $res->{content} );

that data, returned by server is always valid JSON. In case of

        GET /projects/:id/jobs/:job_id/trace

endpoint, it is not the case.
-- 
        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction
                                                                             --

Attachment: pgpJxquwf4aTt.pgp
Description: PGP signature

Reply via email to