diff --git a/public/app.js b/public/app.js
index 569e9fe..fba20d0 100644
--- a/public/app.js
+++ b/public/app.js
@@ -2178,6 +2178,10 @@ function watchPanelHtml() {
const WATCH_STATUS = { ok: 'Up to date', checking: 'Checking…', error: 'Problem' };
+// What went wrong with the last thing you asked a watch to do, shown on its row
+// until the next attempt. Beats an alert() you can't read once it's dismissed.
+const watchNotices = new Map();
+
function watchHtml(w) {
const when = w.last_checked_at ? `checked ${formatDate(w.last_checked_at)}` : 'not checked yet';
const listed = w.total != null && w.listed != null && w.listed < w.total
@@ -2199,6 +2203,7 @@ function watchHtml(w) {
${escapeHtml(when)} · every ${w.interval_hours}h · ${plural(w.imported_count, 'model')} imported${w.partial_count ? ` · ${w.partial_count} still without files` : ''}${w.error_count ? ` · ${w.error_count} failed` : ''}${listed}