Exception: JenkinsApi::Exceptions::InternalServerError

Inherits:
ApiException
  • Object
show all
Defined in:
lib/jenkins_api_client/exceptions.rb

Overview

This exception class handles cases where the Jenkins API returns with a 500 Internal Server Error.

Instance Method Summary collapse

Constructor Details

#initialize(logger, message = "", log_level = Logger::ERROR) ⇒ InternalServerError

Returns a new instance of InternalServerError.



202
203
204
205
206
207
# File 'lib/jenkins_api_client/exceptions.rb', line 202

def initialize(logger, message = "", log_level = Logger::ERROR)
  message = "Internal Server Error. Perhaps the in-memory configuration" +
    " Jenkins is different from the disk configuration. Please try to" +
    " reload the configuration" if message.nil? || message.empty?
  super(logger, message)
end