mirror of
https://github.com/Metabolix/HackBGRT.git
synced 2026-09-26 05:51:22 -07:00
Properly propagate configuration error message
This commit is contained in:
+1
-1
@@ -976,7 +976,7 @@ public class Setup {
|
|||||||
WriteLine($"Error: {e.Message}");
|
WriteLine($"Error: {e.Message}");
|
||||||
WriteLine($"Reverting. Use batch mode with allow-bad-loader to override.");
|
WriteLine($"Reverting. Use batch mode with allow-bad-loader to override.");
|
||||||
revert();
|
revert();
|
||||||
throw new SetupException("Check your configuration and try again.");
|
throw new SetupException($"Error in configuration: {e.Message}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user