1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

improve error output when configuration is invalid

This commit is contained in:
RaidMax
2022-02-15 20:16:21 -06:00
parent 3c21bf3242
commit 3fb0e43d42
3 changed files with 5 additions and 7 deletions

View File

@ -59,7 +59,7 @@ namespace IW4MAdmin.Application.Misc
catch (Exception e)
{
throw new ConfigurationException("MANAGER_CONFIGURATION_ERROR")
throw new ConfigurationException("Could not load configuration")
{
Errors = new[] { e.Message },
ConfigurationFileName = FileName