summaryrefslogtreecommitdiff
path: root/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'error.go')
-rw-r--r--error.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/error.go b/error.go
index b01068e..6db5849 100644
--- a/error.go
+++ b/error.go
@@ -5,6 +5,7 @@ import (
)
func Error(err error, a ...any) {
+ if ! ERROR.B { return }
origlog.Println("Error:", err)
origlog.Println(a...)
}