diff options
Diffstat (limited to 'lib/api/jobs.rb')
-rw-r--r-- | lib/api/jobs.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/jobs.rb b/lib/api/jobs.rb index e14a4a5e680..c09b01f5b4e 100644 --- a/lib/api/jobs.rb +++ b/lib/api/jobs.rb @@ -82,7 +82,8 @@ module API content_type 'text/plain' env['api.format'] = :binary - trace = build.trace.raw + # The trace can be nil bu body method expects a string as an argument. + trace = build.trace.raw || '' body trace end |