import logging


def fix_missing(value):
  """
  If there's a missing value for a number, return two dashes. Otherwise,
  return the number.
  """

  try:
    if value == '' or value is None:
      return '--'
    return value
  except Exception as exc:
    logging.error('Returning a missing value string: %s', exc)
    return '--'