lib/evrone/common/spawn/error.rb in evrone-common-spawn-0.0.6 vs lib/evrone/common/spawn/error.rb in evrone-common-spawn-0.0.7
- old
+ new
@@ -10,11 +10,11 @@
@cmd = cmd
@seconds = seconds
end
def to_s
- "Execution of '#{@cmd}' expired"
+ "Execution expired, command did not finish within #{@seconds} seconds"
end
end
class ReadTimeoutError < ::Timeout::Error
@@ -23,10 +23,10 @@
@cmd = cmd
@seconds = seconds
end
def to_s
- "No output has been received of '#{@cmd}' in the last #{@seconds} seconds"
+ "No output has been received in the last #{@seconds} seconds"
end
end
end
end