Commit 0dfc5d9a authored by Kirill Smelkov's avatar Kirill Smelkov

exc: Addcallingcontext adds frames, not names as error context

Fix this thinko in Addcallingcontext description.

In current Error.Error() only function names are printed but with actual
frames there in error context clients will be probably able to access
this information theirselves.
parent 66a27966
......@@ -148,7 +148,7 @@ func init() {
}
// add calling context to error.
// Add calling function names as error context up-to topfunc not including.
// Add calling function frames as error context up-to topfunc not including.
// see also: Addcontext()
func Addcallingcontext(topfunc string, e *Error) *Error {
seenraise := false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment