aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-02-20 20:49:27 +0100
committermetamuffin <metamuffin@disroot.org>2025-02-20 20:49:27 +0100
commitc8bbfb63a32cedbad22fcd364141a07208ce12bc (patch)
tree25daddd532c8caddb2dc0010e1993bdda54c0ca7
parent536318cd729785a21f24e988a69ba2ce5ab0f070 (diff)
downloadjellything-c8bbfb63a32cedbad22fcd364141a07208ce12bc.tar
jellything-c8bbfb63a32cedbad22fcd364141a07208ce12bc.tar.bz2
jellything-c8bbfb63a32cedbad22fcd364141a07208ce12bc.tar.zst
fix black theme and import erorr reporting
-rw-r--r--import/src/lib.rs4
-rw-r--r--web/style/layout.css2
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);
}