equal
deleted
inserted
replaced
272 } |
272 } |
273 |
273 |
274 func (er *Error) Error() string { |
274 func (er *Error) Error() string { |
275 buf, err := xml.Marshal(er) |
275 buf, err := xml.Marshal(er) |
276 if err != nil { |
276 if err != nil { |
277 if Log != nil { |
277 Warnf("double bad error: couldn't marshal error") |
278 Log.Err("double bad error couldn't marshal error") |
|
279 } |
|
280 return "unreadable error" |
278 return "unreadable error" |
281 } |
279 } |
282 return string(buf) |
280 return string(buf) |
283 } |
281 } |
284 |
282 |