Yusin0903 commented on code in PR #49164: URL: https://github.com/apache/airflow/pull/49164#discussion_r2291552314
########## airflow-core/src/airflow/api_fastapi/common/exceptions.py: ########## @@ -103,6 +104,18 @@ def _is_dialect_matched(self, exc: IntegrityError) -> bool: return False -DatabaseErrorHandlers = [ - _UniqueConstraintErrorHandler(), -] +class DagErrorHandler(BaseErrorHandler[DeserializationError]): + """Handler for Dag related errors.""" + + def __init__(self): + super().__init__(DeserializationError) Review Comment: Hi, thanks for your feedback. This follows the same pattern as _UniqueConstraintErrorHandler which correctly initializes the parent BaseErrorHandler. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org