Skip to content

Commit

Permalink
Merge pull request #3 from ushis/master
Browse files Browse the repository at this point in the history
check-xmpp-login: do not rescue from systemexit
  • Loading branch information
majormoses authored Aug 4, 2017
2 parents a2b1033 + 8cfd408 commit 2d6be2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)

## [Unreleased]
### Fixed
- check-xmpp-login.rb do not rescue from SystemExit (@ushis)

## [1.0.0] - 2017-05-16
### Added
Expand Down
2 changes: 1 addition & 1 deletion bin/check-xmpp-login.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def run
ok "Logged in as #{config[:jid]}"
rescue Jabber::ClientAuthenticationFailure
warning 'Login failed: Invalid jid or password'
rescue Exception => err # rubocop:disable RescueException
rescue StandardError => err
critical "Failed to connect to XMPP server: #{err.message}"
end
end

0 comments on commit 2d6be2c

Please sign in to comment.