From 66f1d809ec2c0f43cfb150bce7674e1eca35e962 Mon Sep 17 00:00:00 2001 From: nai-degen Date: Sun, 10 Sep 2023 13:30:23 -0500 Subject: [PATCH] minor html cleanup --- src/admin/web/views/admin_download-stats.ejs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/admin/web/views/admin_download-stats.ejs b/src/admin/web/views/admin_download-stats.ejs index 522cca9..5d991fe 100644 --- a/src/admin/web/views/admin_download-stats.ejs +++ b/src/admin/web/views/admin_download-stats.ejs @@ -69,7 +69,7 @@
  • {{stats}}
  • {{time}}
  • -
    - +
    @@ -130,7 +130,7 @@ const content = await response.text(); copyToClipboard(content); } else { - console.error('Failed to fetch markdown content'); + throw new Error('Failed to fetch generated stats. Try reloading the page.'); } }