printWidth: 100

This commit is contained in:
Christopher committed 2021-03-02 21:03:06 +01:00
1 parent d27aeb3b0e
commit 6f4ee009a9
63 files changed
+602 -223

No files matched your search

+3 -1
View File
@@ -13,7 +13,9 @@ import { mainLogger } from './sv_logger';
// we require set mysql_connection_string to be set in the config
const mysqlConnectionString = GetConvar(CONNECTION_STRING, 'none');
if (mysqlConnectionString === 'none') {
const error = new Error(`No connection string provided. make sure "${CONNECTION_STRING}" is set in your config.`);
const error = new Error(
`No connection string provided. make sure "${CONNECTION_STRING}" is set in your config.`,
);
mainLogger.error(error.message);
throw error;
}