improve logging

This commit is contained in:
tdurieux
2026-05-06 16:31:10 +03:00
parent 873c910dd3
commit 3613c895c8
15 changed files with 77 additions and 20 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ export default class GitHubStream extends GitHubBase {
}
logger.warn("getTree failed", serializeError(error));
throw new AnonymousError("repo_not_found", {
httpStatus: status || 500,
httpStatus: status || 404,
object: this.data,
cause: error as Error,
});