Merge pull request #18 from Shnimlz/alert-autofix-1
Potential fix for code scanning alert no. 1: Clear-text logging of sensitive information
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