Potential fix for code scanning alert no. 1: Clear-text logging of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
@@ -39,7 +39,7 @@ export async function ensureUserAndGuildExist(
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error({ userId, guildId, error }, 'Error ensuring User and Guild exist');
|
logger.error({ error }, 'Error ensuring User and Guild exist');
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user