Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #524 from ripienaar/523
Browse files Browse the repository at this point in the history
(#523) handle MCollective::ClientTimeoutError
  • Loading branch information
ripienaar committed Jul 26, 2018
2 parents ac63233 + 34c0f1b commit b3456d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mcollective/util/natswrapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ def start(options={})

begin
@client.connect(options)
rescue ClientTimeoutError
raise
rescue
Log.error("Error during initial NATS setup: %s: %s" % [$!.class, $!.message])
Log.debug($!.backtrace.join("\n\t"))
Expand Down

0 comments on commit b3456d8

Please sign in to comment.