Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/GitLab/API/v4.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4170,7 +4170,7 @@ sub job_trace_file {
croak 'job_trace_file must be called with 2 arguments' if @_ != 2;
croak 'The #1 argument ($project_id) to job_trace_file must be a scalar' if ref($_[0]) or (!defined $_[0]);
croak 'The #2 argument ($job_id) to job_trace_file must be a scalar' if ref($_[1]) or (!defined $_[1]);
my $options = {};
my $options = {decode => 0};
return $self->_call_rest_client( 'GET', 'projects/:project_id/jobs/:job_id/trace', [@_], $options );
}

Expand Down
2 changes: 1 addition & 1 deletion lib/GitLab/API/v4/RESTClient.pm
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ sub request {
}
catch {
croakf(
'Error decoding JSON (%s %s %s): ',
'Error decoding JSON (%s %s %s): %s',
$verb, $url, $res->{status}, $_,
);
};
Expand Down