Skip to content

Commit

Permalink
Merge branch 'master' of github.com:DataDog/chef-handler-datadog into…
Browse files Browse the repository at this point in the history
… sam/extra_endpoints_api_url
  • Loading branch information
Azoam committed Nov 18, 2019
2 parents cbe2ce5 + f6abe03 commit e99a798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chef-handler-datadog.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ['lib']
gem.extra_rdoc_files = ['README.md', 'LICENSE.txt']

gem.add_dependency 'dogapi', '>= 1.31'
gem.add_dependency 'dogapi', '= 1.36.0'

gem.add_development_dependency 'appraisal', '~> 2.0.1'
gem.add_development_dependency 'bundler'
Expand Down
2 changes: 1 addition & 1 deletion lib/chef/handler/datadog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def send_report_to_datadog(dog)
@event.emit_to_datadog dog
@tags.send_update_to_datadog dog
rescue => e
Chef::Log.error("Could not send/emit to Datadog:\n" + e)
Chef::Log.error("Could not send/emit to Datadog:\n" + e.to_s)
Chef::Log.error('Event data to be submitted was:')
Chef::Log.error(@event.event_title)
Chef::Log.error(@event.event_body)
Expand Down

0 comments on commit e99a798

Please sign in to comment.