changeset 100 | 24231ff0016c |
parent 98 | c9cc4eda6dce |
child 102 | 872e936f9f3f |
--- a/structs.go Sun Dec 16 13:03:03 2012 -0700 +++ b/structs.go Sun Dec 16 14:07:14 2012 -0700 @@ -274,9 +274,7 @@ func (er *Error) Error() string { buf, err := xml.Marshal(er) if err != nil { - if Log != nil { - Log.Err("double bad error couldn't marshal error") - } + Warnf("double bad error: couldn't marshal error") return "unreadable error" } return string(buf)