lib/circuitbox/errors/open_circuit_error.rb in circuitbox-2.0.0.pre4 vs lib/circuitbox/errors/open_circuit_error.rb in circuitbox-2.0.0.pre5

- old
+ new

@@ -6,7 +6,11 @@ def initialize(service) super() @service = service end + + def to_s + "#{self.class}: Service #{service.inspect} has an open circuit" + end end end