Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/bugsnag/deploy.rb
Original file line number Diff line number Diff line change
@@ -22,7 +22,8 @@ def self.notify(opts = {})
"appVersion" => configuration.app_version,
"revision" => opts[:revision],
"repository" => opts[:repository],
"branch" => opts[:branch]
"branch" => opts[:branch],
"provider" => opts[:provider]
}.reject {|k,v| v == nil}

raise RuntimeError.new("No API key found when notifying of deploy") if !parameters["apiKey"] || parameters["apiKey"].empty?

0 comments on commit f4c9f1e

Please sign in to comment.