def fail(message=None, prefix="error", exc_info=None, status=1, suppress=False):
  '''Fatal error.'''
  if suppress:
    if message:
      log.info("warning: %s", message)
    sys.exit(0)
  else:
    if message:
      log.error("%s: %s", prefix, message)
    if exc_info and log.verbosity >= 1:
      log.info("", exc_info=exc_info)
    sys.exit(status)
dataset/ETHPy150Open bloomreach/zinc/zinc.py/fail/original