Merge pull request #71 from PTMagicians/revert-64-develop
Revert "Added Clearer Log Message"
This commit is contained in:
commit
169f193424
|
@ -645,8 +645,6 @@ namespace Core.Main
|
||||||
|
|
||||||
// Check if the program is enabled
|
// Check if the program is enabled
|
||||||
if (this.PTMagicConfiguration.GeneralSettings.Application.IsEnabled)
|
if (this.PTMagicConfiguration.GeneralSettings.Application.IsEnabled)
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
{
|
||||||
if (this.PTMagicConfiguration.GeneralSettings.Application.TestMode) this.Log.DoLogInfo("TESTMODE ENABLED - No files will be changed!");
|
if (this.PTMagicConfiguration.GeneralSettings.Application.TestMode) this.Log.DoLogInfo("TESTMODE ENABLED - No files will be changed!");
|
||||||
|
|
||||||
|
@ -683,12 +681,7 @@ namespace Core.Main
|
||||||
this.Log.DoLogInfo("No FreeCurrencyConverterApi KEY specified! You can't use non USD Currencies!");
|
this.Log.DoLogInfo("No FreeCurrencyConverterApi KEY specified! You can't use non USD Currencies!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (System.NullReferenceException ex)
|
|
||||||
{
|
|
||||||
this.Log.DoLogError("PTM failed to read the Config File. That means something in the File is either missing or incorrect. If this happend after an update please take a look at the release notes at: https://github.com/PTMagicians/PTMagic/releases");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.Log.DoLogWarn("PTMagic disabled, shutting down...");
|
this.Log.DoLogWarn("PTMagic disabled, shutting down...");
|
||||||
|
|
Loading…
Reference in New Issue