Skip to content

Commit d78e584

Browse files
committed
use named parameter for PrintStack
1 parent ba43a40 commit d78e584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github.com/getlantern/errors/errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ type Error interface {
108108
// with the cause of this Error (if any), then the stacktrace when the
109109
// cause is created, and so on.
110110
// The output is an analogy of Java's stacktrace.
111-
PrintStack(io.Writer, string)
111+
PrintStack(w io.Writer, linePrefix string)
112112

113113
// Op attaches a hint of the operation triggers this Error. Many error types
114114
// returned by net and os package have Op pre-filled.

0 commit comments

Comments
 (0)