0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

Fixed incorrect logging values

This commit is contained in:
Dev 2024-06-05 21:50:27 +01:00
parent 2a9cbab762
commit af76a068b4

View File

@ -145,7 +145,7 @@ export class DatabaseService
{ {
if (!this.databaseServer.getTables().locales) if (!this.databaseServer.getTables().locales)
{ {
throw new Error(this.localisationService.getText("database-data_at_path_missing", "assets/database/locales")); throw new Error(this.localisationService.getText("database-data_at_path_missing", "assets/database/server"));
} }
return this.databaseServer.getTables().server!; return this.databaseServer.getTables().server!;
@ -158,7 +158,7 @@ export class DatabaseService
{ {
if (!this.databaseServer.getTables().locales) if (!this.databaseServer.getTables().locales)
{ {
throw new Error(this.localisationService.getText("database-data_at_path_missing", "assets/database/locales")); throw new Error(this.localisationService.getText("database-data_at_path_missing", "assets/database/settings"));
} }
return this.databaseServer.getTables().settings!; return this.databaseServer.getTables().settings!;