From fda3b1ac31eed01c4d5456e29fc3c2726fab22ff Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sun, 31 Jul 2016 15:39:46 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/Bot.cs | 2 +- ArchiSteamFarm/Program.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 000c29ed1..00c6451aa 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -150,7 +150,7 @@ namespace ArchiSteamFarm { BotDatabase = BotDatabase.Load(botPath + ".db"); if (BotDatabase == null) { - Logging.LogGenericError("Bot database could not be loaded, refusing to start this bot instance!", botName); + Logging.LogGenericError("Bot database could not be loaded, refusing to create this bot instance! In order to recreate it, remove " + BotDatabase + " and try again!", botName); return; } diff --git a/ArchiSteamFarm/Program.cs b/ArchiSteamFarm/Program.cs index 553d75900..30d39a8d9 100644 --- a/ArchiSteamFarm/Program.cs +++ b/ArchiSteamFarm/Program.cs @@ -380,14 +380,14 @@ namespace ArchiSteamFarm { private static void InitServices() { GlobalConfig = GlobalConfig.Load(Path.Combine(ConfigDirectory, GlobalConfigFile)); if (GlobalConfig == null) { - Logging.LogGenericError("Global config could not be loaded, please make sure that ASF.json exists and is valid!"); + Logging.LogGenericError("Global config could not be loaded, please make sure that " + GlobalConfigFile + " exists and is valid!"); Thread.Sleep(5000); Exit(1); } GlobalDatabase = GlobalDatabase.Load(Path.Combine(ConfigDirectory, GlobalDatabaseFile)); if (GlobalDatabase == null) { - Logging.LogGenericError("Global database could not be loaded!"); + Logging.LogGenericError("Global database could not be loaded, if issue persists, please remove " + GlobalDatabaseFile + " in order to recreate database!"); Thread.Sleep(5000); Exit(1); }