Skip to content

Commit cc1876f

Browse files
Potential fix for code scanning alert no. 83: Clear-text logging of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 84835d7 commit cc1876f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ export class App {
261261
try {
262262
permissions = JSON.parse(apiKey.permissions)
263263
} catch (error) {
264-
logger.error(`Error parsing permissions for API key ${apiKey.id}:`, error)
264+
logger.error('Error parsing API key permissions', error)
265265
return res.status(StatusCodes.INTERNAL_SERVER_ERROR).json({ error: 'Error parsing permissions for API key' })
266266
}
267267
// @ts-ignore

0 commit comments

Comments
 (0)