mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 02:42:45 +00:00
chore: improve error logging
This commit is contained in:
@@ -17,7 +17,7 @@ export async function connect() {
|
||||
}
|
||||
|
||||
export async function getRepository(repoId: string) {
|
||||
if (!repoId) {
|
||||
if (!repoId || repoId == 'undefined') {
|
||||
throw new AnonymousError("repo_not_found", {
|
||||
object: repoId,
|
||||
httpStatus: 404,
|
||||
|
||||
Reference in New Issue
Block a user