From c8bbfb63a32cedbad22fcd364141a07208ce12bc Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 20 Feb 2025 20:49:27 +0100 Subject: fix black theme and import erorr reporting --- import/src/lib.rs | 4 ++-- web/style/layout.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/import/src/lib.rs b/import/src/lib.rs index 412f550..b5532e9 100644 --- a/import/src/lib.rs +++ b/import/src/lib.rs @@ -149,7 +149,7 @@ fn import_traverse( ) { IMPORT_ERRORS .blocking_write() - .push(format!("{:#}", e.context("path {path:?}"))); + .push(format!("{path:?} import failed: {e:#}")); } Ok::<_, anyhow::Error>(()) })?; @@ -167,7 +167,7 @@ fn import_traverse( } } - import_file(db, apis, rthandle, path, parent, visibility).context(anyhow!("{path:?}"))?; + import_file(db, apis, rthandle, path, parent, visibility)?; db.set_import_file_mtime(path, mtime)?; } Ok(()) diff --git a/web/style/layout.css b/web/style/layout.css index 9c98731..1dfbff2 100644 --- a/web/style/layout.css +++ b/web/style/layout.css @@ -53,7 +53,7 @@ h1, h2, h3, h4 { h1 { font-weight: bold; } -p, span, a, td, th, label, input, legend { +p, span, a, td, th, label, input, legend, pre { color: var(--font); } -- cgit v1.2.3-70-g09d2