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:
parent
a91bd80087
commit
29cdeb0621
2 changed files with 9 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue