mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-12 21:58:57 +02:00
improve logging
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user