code: def fallback(message: str, ex: Exception) -> None:
      
      logging.error('%s', message)
      logging.exception('%s', ex)
      sys.exit(1)
docs: Fallback procedure when a cli command fails.
  
      :param message: message to be logged
      :param ex: Exception which caused the failure