diff options
-rw-r--r-- | lib/gitlab/ci/trace.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/ci/trace.rb b/lib/gitlab/ci/trace.rb index 5b835bb669a..b980e29e9c3 100644 --- a/lib/gitlab/ci/trace.rb +++ b/lib/gitlab/ci/trace.rb @@ -50,6 +50,8 @@ module Gitlab end def read + return unless exist? + stream = Gitlab::Ci::Trace::Stream.new do if current_path File.open(current_path, "rb") |