diff --git a/preprocessor/folder/file.go b/preprocessor/folder/file.go index d4756c0..6f06fe2 100644 --- a/preprocessor/folder/file.go +++ b/preprocessor/folder/file.go @@ -308,7 +308,7 @@ func handleNewFile(pgPool *pgxpool.Pool, filePath string, project *ProjectQueryR } cid = resp.Cid } else { - if err := setFileStatusError(pgPool, filePath, err.Error()); err != nil { + if err := setFileStatusError(pgPool, filePath, "Invalid proofmode file"); err != nil { log.Println("error setting file status to error:", err) } return "", fmt.Errorf("file %s not found in zip", fileName)