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:
parent
2a9cbab762
commit
af76a068b4
@ -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!;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user