fix: restore Node deployment and keep Go on its branch

This commit is contained in:
Codex committed 2026-11-08 19:16:38 +00:00
1 parent 1983441c68
commit bff2e343fd
602 files changed
+92 -1026486

No files matched your search

@@ -1,19 +0,0 @@
package server
import (
"errors"
"io"
"github.com/tdurieux/anonymous_github/backend/internal/anonymize"
)
func transformFailure(err error) error {
var input *anonymize.InputError
if errors.As(err, &input) {
if errors.Is(err, io.ErrUnexpectedEOF) {
return fail("storage_write_size_mismatch", 502)
}
return fail("file_not_available", 502)
}
return fail("anonymization_failed", 422)
}