aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bridge.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge.go b/bridge.go
index 46f55d4..38eeb77 100644
--- a/bridge.go
+++ b/bridge.go
@@ -183,8 +183,8 @@ func trace(message string, err error) {
f := runtime.FuncForPC(pc[0])
file, line := f.FileLine(pc[0])
if err != nil {
- log.Printf("%s:%d %s: %s\n", file, line, f.Name(), err)
+ log.Fatalf("%s:%d %s: %s\n", file, line, f.Name(), err)
} else {
- log.Printf("%s:%d %s: %s\n", file, line, f.Name(), message)
+ log.Fatalf("%s:%d %s: %s\n", file, line, f.Name(), message)
}
}