Commit dac23fa2 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Don't try to read if there's no trace

parent c26b1265
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment