mirror of
https://github.com/Xevion/scla-unsubscribe.git
synced 2025-12-08 14:08:23 -06:00
Fix recursive error Sprintf
This commit is contained in:
@@ -11,11 +11,11 @@ type UnsubscribeUnexpectedError struct {
|
||||
}
|
||||
|
||||
func (e ChecksumMissingError) Error() string {
|
||||
return fmt.Sprintf("checksum missing: %x", e)
|
||||
return fmt.Sprintf("checksum missing: %x", []byte(e[:]))
|
||||
}
|
||||
|
||||
func (e ChecksumInvalidError) Error() string {
|
||||
return fmt.Sprintf("checksum invalid: %x", e)
|
||||
return fmt.Sprintf("checksum invalid: %x", []byte(e[:]))
|
||||
}
|
||||
|
||||
func (e UnsubscribeRejectedError) Error() string {
|
||||
|
||||
Reference in New Issue
Block a user