lib/knapsack_pro/allocator.rb in knapsack_pro-0.47.0 vs lib/knapsack_pro/allocator.rb in knapsack_pro-0.48.0
- old
+ new
@@ -12,9 +12,10 @@
response = connection.call
if connection.success?
raise ArgumentError.new(response) if connection.errors?
prepare_test_files(response)
else
+ KnapsackPro.logger.warn("Fallback mode started. We could not connect with Knapsack Pro API. Your tests will be executed based on directory names. Read more about fallback mode at https://github.com/KnapsackPro/knapsack_pro-ruby#what-happens-when-knapsack-pro-api-is-not-availablenot-reachable-temporarily")
fallback_test_files
end
end
private