Skip to content

Commit a61f993

Browse files
committed
add causeStackTrace to exception
1 parent 3c178a3 commit a61f993

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lavalink/load_result.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ type Empty struct{}
7878
func (Empty) loadResultData() {}
7979

8080
type Exception struct {
81-
Message string `json:"message"`
82-
Severity Severity `json:"severity"`
83-
Cause *string `json:"cause,omitempty"`
81+
Message string `json:"message"`
82+
Severity Severity `json:"severity"`
83+
Cause string `json:"cause"`
84+
CauseStackTrace string `json:"causeStackTrace"`
8485
}
8586

8687
func (Exception) loadResultData() {}

0 commit comments

Comments
 (0)