Method: Sunshine.exception_behavior

Defined in:
lib/sunshine.rb

.exception_behaviorObject

Defines what to do when deploy raises an exception. Supported values are:

::revert:  Revert to the previous deploy.
::console: Start an interactive ruby shell within the app's context.
::exit:    Stop deploy and exit, leaving deploy in unfinished state.
::prompt:  Ask what to do.

Defaults to :revert. Overridden in the config.



129
130
131
# File 'lib/sunshine.rb', line 129

def self.exception_behavior
  @config['exception_behavior']
end