diff options
Diffstat (limited to 'src/hypixel.ts')
-rw-r--r-- | src/hypixel.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hypixel.ts b/src/hypixel.ts index 6c19a69..83ad419 100644 --- a/src/hypixel.ts +++ b/src/hypixel.ts @@ -8,6 +8,7 @@ import * as cached from './hypixelCached' import { CleanBasicMember, CleanMemberProfile } from './cleaners/skyblock/member' import { cleanSkyblockProfileResponse, CleanProfile, CleanBasicProfile } from './cleaners/skyblock/profile' import { cleanSkyblockProfilesResponse } from './cleaners/skyblock/profiles' +import { debug } from '.' export type Included = 'profiles' | 'player' | 'stats' | 'inventories' @@ -78,6 +79,7 @@ export async function fetchUser({ user, uuid, username }: UserAny, included: Inc } if (!uuid) { // the user doesn't exist. + if (debug) console.log('error:', user, 'doesnt exist') return null } |