def run
    begin
      logger.debug("Running contained process at #{Time.now}")
      yield

    rescue Exception => error
      logger.error("Nucleon run experienced an error! Details:")
      logger.error(error.inspect)
      logger.error(error.message)
      logger.error(Util::Data.to_yaml(error.backtrace))

      ui.error(error.message) if error.message
      raise
    end
  end
def run
    begin
      logger.debug("Running contained process at #{Time.now}")
      yield

    rescue Exception => error
      logger.error("Nucleon run experienced an error! Details:")
      logger.error(error.inspect)
      logger.error(error.message)
      logger.error(Util::Data.to_yaml(error.backtrace))

      ui.error(error.message) if error.message
      raise
    end
  end
-----------------------------------------------------------------------------
 External execution