cbrito / splunk-client

Splunk REST API Library for Ruby
MIT License
21 stars 15 forks source link

Raise an exception when an invalid session is setup #7

Closed cbrito closed 11 years ago

cbrito commented 11 years ago

Since the gem is capable of authenticating to Splunk and creating a client when Splunk returns an authentication exception, users may inadvertently use a SplunkClient object that does not work.

Reference: http://stackoverflow.com/questions/11528596/splunk-client-with-nokogiri-giving-undefined-namespace-prefix/14387939#14387939