1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Fix sql formatter crash

This commit is contained in:
Chocobozzz 2024-10-31 10:49:24 +01:00
parent a91bd80087
commit 29cdeb0621
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 9 additions and 1 deletions

View file

@ -19,7 +19,7 @@ const consoleLoggerFormat = format.printf(info => {
if (info.sql) {
if (CONFIG.LOG.PRETTIFY_SQL) {
additionalInfos += '\n' + sqlFormat(info.sql, {
language: 'sql',
language: 'postgresql',
tabWidth: 2
})
} else {