tests: produce on planets, unload on routes

This commit is contained in:
Ilia Denisov
2026-01-23 00:28:23 +02:00
parent 9825e05c0e
commit 812e0d4afd
15 changed files with 522 additions and 103 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ func newGenericError(code int, arg ...any) error {
e.err = arg[i].(error)
i += 1
}
if len(arg) == i+2 {
if len(arg) >= i+2 {
e.subject = fmt.Sprintf(asString(arg[i]), arg[i+1:]...)
} else if len(arg) == i+1 {
e.subject = asString(arg[i])