Skip to content

Build your personal knowledge base with Trilium Notes

log error messages with ERROR: prefix (there's wasn't anyt other distinction before)

azivnerabdad1c3aef6
diff --git a/src/services/log.js b/src/services/log.js
index f00b2d037b..ee423d1158 100644
--- a/src/services/log.js
+++ b/src/services/log.js
@@ -22,7 +22,7 @@ function info(message) {
function error(message) {
// we're using .info() instead of .error() because simple-node-logger emits weird error for showError()
- info(message);
+ info("ERROR: " + message);
}
const requestBlacklist = [ "/libraries", "/javascripts", "/images", "/stylesheets" ];