Files
AutoGPT/autogpt_platform/backend/backend
Otto 495d01b09b fix: use getattr for pyright type checking on dynamic error attributes
Fixes pyright errors:
- Cannot access attribute 'code' for class 'Exception'
- Cannot access attribute 'param' for class 'Exception'

Using getattr() instead of direct attribute access satisfies pyright's
type checker while maintaining the same runtime behavior.
2026-02-09 07:52:45 +00:00
..