Properly propagate configuration error message

This commit is contained in:
Lauri Kenttä
2024-07-20 15:26:18 +03:00
parent 1e36d7e388
commit 830db410ea

View File

@@ -976,7 +976,7 @@ public class Setup {
WriteLine($"Error: {e.Message}");
WriteLine($"Reverting. Use batch mode with allow-bad-loader to override.");
revert();
throw new SetupException("Check your configuration and try again.");
throw new SetupException($"Error in configuration: {e.Message}");
}
}
};