diff options
| author | Jeff Carr <[email protected]> | 2024-11-07 01:23:43 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-07 01:23:43 -0600 |
| commit | ef61eb494b42a7bc226de1edc114579ce530abdd (patch) | |
| tree | 0bd23b52a8aae23806d8cdc9896936c39cd07728 /error.go | |
| parent | 2b11a4e334f465aef868d6c1bf3f1a7c9dfd5c27 (diff) | |
try allowing switching to writing to httpv0.22.2
Diffstat (limited to 'error.go')
| -rw-r--r-- | error.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,7 +5,9 @@ package log func Error(err error, a ...any) { - if ! ERROR.Get() { return } + if !ERROR.Get() { + return + } realPrintln("Error:", err) realPrintln(a...) } |
