show webhook failure front (#3044)

This commit is contained in:
LawyZheng
2025-08-01 15:37:44 +08:00
committed by GitHub
parent 88018418af
commit b93f0e0f79
4 changed files with 45 additions and 1 deletions

View File

@@ -167,6 +167,15 @@ function TaskDetails() {
</div>
) : null;
const webhookFailureReason = task?.webhook_failure_reason ? (
<div className="space-y-1">
<Label>Webhook Failure Reason</Label>
<div className="rounded-md border border-yellow-600 p-4 text-sm">
{task.webhook_failure_reason}
</div>
</div>
) : null;
return (
<div className="flex flex-col gap-8">
<header className="space-y-3">
@@ -267,6 +276,7 @@ function TaskDetails() {
<>
{extractedInformation}
{failureReason}
{webhookFailureReason}
</>
)}
<SwitchBarNavigation