Skip to content

Commit 1e70b7a

Browse files
authored
parsing: better panic message for unknown commands
;)
1 parent b07b06e commit 1e70b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parsing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func (p *Parser) parseFrame() bool {
230230
panic("Found CustomData but not handled")
231231

232232
default:
233-
panic(fmt.Sprintf("Canny handle it anymoe (command %v unknown)", cmd))
233+
panic(fmt.Sprintf("I haven't programmed that pathway yet (command %v unknown)", cmd))
234234
}
235235

236236
// Queue up some post processing

0 commit comments

Comments
 (0)