We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9a12b2 + 06f9b31 commit 372476dCopy full SHA for 372476d
lib/capistrano/sentry/version.rb
@@ -2,6 +2,6 @@
2
3
module Capistrano
4
module Sentry
5
- VERSION = '0.4.1'
+ VERSION = '0.4.2'
6
end
7
lib/capistrano/tasks/sentry.rake
@@ -20,7 +20,7 @@ namespace :sentry do
20
run_locally do
21
info '[sentry:validate_config] Validating Sentry notification config'
22
api_token = ENV['SENTRY_API_TOKEN'] || fetch(:sentry_api_token)
23
- if api_token.blank?
+ if api_token.nil? || api_token.empty?
24
msg = 'Missing SENTRY_API_TOKEN. Please set SENTRY_API_TOKEN environment' \
25
' variable or `set :sentry_api_token` in your `config/deploy.rb` file for your Rails application.'
26
warn msg
0 commit comments