diff --git a/lib/scientist/observation.rb b/lib/scientist/observation.rb index da23708..327a39d 100644 --- a/lib/scientist/observation.rb +++ b/lib/scientist/observation.rb @@ -26,7 +26,7 @@ def initialize(name, experiment, &block) begin @value = block.call - rescue Object => e + rescue StandardError => e @exception = e end