diff --git a/test/support/retry_on_flaky_tests.rb b/test/support/retry_on_flaky_tests.rb index 4ad11619..71ad1414 100644 --- a/test/support/retry_on_flaky_tests.rb +++ b/test/support/retry_on_flaky_tests.rb @@ -21,7 +21,7 @@ def capture_exceptions yield rescue => err if (tries +=1) <= max_tries && error_classes.include?(err.class) - puts "Got #{err.message} Error, trying again #{tries}. time" + puts "Got #{err.class.name} Error, trying again #{tries}. time" retry else super { raise err }