lib/jabber_admin/exceptions.rb in jabber_admin-0.2.0 vs lib/jabber_admin/exceptions.rb in jabber_admin-1.0.0

- old
+ new

@@ -17,9 +17,10 @@ # # @param msg [String] the excpetion message # @param response [RestClient::Response] the response when available def initialize(msg, response = nil) @response = response + msg += " => #{response.body}" if response&.body super(msg) end end # This exception is raised when the request was denied due to premission