code: def display_once(e: Exception, task):
      record_exception()
  
      if task in already_displayed:
          return
  
      display(e, task)
  
      already_displayed[task] = 1
  
file_path: stable-diffusion-webui/modules/errors.py
imports: import sys
  import textwrap
  import traceback
label_desc: Use image node_id 8 for calling a global function with example usage: display_once(e, task) without return types