pierrejeambrun commented on code in PR #61588:
URL: https://github.com/apache/airflow/pull/61588#discussion_r2958897443
##########
airflow-core/src/airflow/ui/src/queries/useClearTaskInstances.ts:
##########
@@ -52,6 +52,15 @@ export const useClearTaskInstances = ({
let detail: string;
let description: string;
+ // Get status from error
+ const status =
+ (error as { status?: number }).status ?? (error as { response?: {
status?: number } }).response?.status;
+
+ // Skip 403 errors as they are handled by MutationCache
+ if (status === 403) {
+ return;
+ }
+
Review Comment:
`createErrorToaster` ?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]