Skip to content
Snippets Groups Projects
Commit bbc2b3dc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

dont read non-exists file

parent dbfec2d5
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -96,7 +96,7 @@ class Build < ActiveRecord::Base
def compose_output
output = trace
 
if running? && tmp_file
if running? && tmp_file && File.exists?(tmp_file)
output << File.read(tmp_file)
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment