code: def _handle_download_error(e, source):
      if log.getEffectiveLevel() <= logging.DEBUG:
          log.exception("downloading %s", source)
      cli.error(f"error downloading {source}: {e}")
  
imports: import logging
  from guild import cli
  from guild import pip_util
  from guild import resolver
  from guild import resourcedef
  from guild import util
label_desc: Use image node_id 2 for calling a global function with example usage: _handle_download_error(e, source) without return types