From 861de33bfe531645f2f22fb2a90c56abc093185a Mon Sep 17 00:00:00 2001 From: Andrei Pohilko Date: Tue, 11 Apr 2023 12:15:09 +0100 Subject: [PATCH] Record event when error is shown --- pkg/dashboard/static/scripts.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/dashboard/static/scripts.js b/pkg/dashboard/static/scripts.js index 73f8957..8f7e136 100644 --- a/pkg/dashboard/static/scripts.js +++ b/pkg/dashboard/static/scripts.js @@ -129,6 +129,7 @@ function reportError(err, xhr) { $("#errorAlert p").text(xhr.responseText) } $("#errorAlert").show() + sendStats("errorReported", {"errMessage": err}) }