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
@@ -122,7 +122,7 @@ export class GitHubRepository {
}
} catch (error) {
throw new AnonymousError("repo_not_found", {
httpStatus: (error as { status?: number }).status,
httpStatus: (error as { status?: number }).status || 404,
cause: error as Error,
object: this,
});