aaron-wolmutt commented on code in PR #58016:
URL: https://github.com/apache/airflow/pull/58016#discussion_r2550361385
##########
airflow-core/src/airflow/ui/src/queries/useTrigger.ts:
##########
@@ -63,6 +64,33 @@ export const useTrigger = ({ dagId, onSuccessConfirm }: {
dagId: string; onSucce
};
const onError = (_error: unknown) => {
+ // Check if error is a 403 (Forbidden) status
+ if (isHttpError(_error, 403)) {
+ toaster.create({
+ description: translate(
Review Comment:
I followed the error description like in usePatchTaskInstance
--
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]