lib/testrail.rb in gridium-1.1.4 vs lib/testrail.rb in gridium-1.1.6

- old
+ new

@@ -86,10 +86,10 @@ Log.debug("[GRIDIUM::TestRail] UPDATE RUN: #{r}") sleep 0.25 r = _send_request('POST', "#{@url}add_results_for_cases/#{@run_info[:id]}", {results: @tc_results}) Log.debug("[GRIDIUM::TestRail] ADD RESULTS: #{r}") sleep 0.25 - Log.debug("#{r.class}") + Log.debug("[GRIDIUM::TestRail] #{r.class}") if r.is_a?(Hash) r = _send_request('POST', "#{@url}update_run/#{@run_info[:id]}", {:name => "ER:#{@run_info[:name]}", :description => "#{@run_info[:desc]}\nThe following was returned when adding cases: #{r}"}) Log.warn("[GRIDIUM::TestRail] ERROR: #{r}") sleep 0.25 end