Skip to content

Commit 3fa54f4

Browse files
committed
Fixed logs
1 parent fd07771 commit 3fa54f4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/travis/api/app/endpoint/jobs.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ class Jobs < Endpoint
9393
# the way we use responders makes it hard to validate proper format
9494
# automatically here, so we need to check it explicitly
9595
if accepts?('text/plain')
96+
Travis.logger.info('[JOBS] Retrieving archived log content')
9697
respond_with resource.archived_log_content
9798
elsif accepts?('application/json')
9899
attach_log_token if job.try(:private?)

lib/travis/api/app/endpoint/logs.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class Logs < Endpoint
2525
# the way we use responders makes it hard to validate proper format
2626
# automatically here, so we need to check it explicitly
2727
if accepts?('text/plain')
28+
Travis.logger.info('[LOGS] Retrieving archived log content')
2829
respond_with resource.archived_log_content
2930
elsif accepts?('application/json')
3031
respond_with resource.as_json

0 commit comments

Comments
 (0)