code: def enable_safe_mode():
      _SafeModeConfig.exception_callback = _SafeModeConfig.log_exception
  
file_path: aim/aim/ext/exception_resistant.py
imports: import logging
  from functools import wraps
label_desc: Use image node_id 2 for calling a global function with example usage: enable_safe_mode() without return types