Skip to content

Commit a5f5621

Browse files
authored
Fix missing newline when using -errorStackTrace (#47)
1 parent dd5f914 commit a5f5621

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

errors.go.tmpl

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ func ErrorWithCause(rpcErr WebRPCError, cause error) WebRPCError {
6060
return rpcErr.WithCause(cause)
6161
}
6262

63-
{{- if $opts.errorStackTrace -}}
63+
{{- if $opts.errorStackTrace }}
64+
6465
func (e WebRPCError) StackFrames() []uintptr {
6566
return e.frame.frames[:]
6667
}

0 commit comments

Comments
 (0)