mirror of
https://github.com/actions/runner.git
synced 2026-01-10 04:28:20 +08:00
Improve error msg when runner is not configured
This commit is contained in:
@@ -53,7 +53,7 @@ namespace GitHub.Runner.Listener.Configuration
|
|||||||
Trace.Info(nameof(LoadSettings));
|
Trace.Info(nameof(LoadSettings));
|
||||||
if (!IsConfigured())
|
if (!IsConfigured())
|
||||||
{
|
{
|
||||||
throw new InvalidOperationException("Not configured");
|
throw new InvalidOperationException("Not configured. Run config.sh or invoke Runner.Listener with the argument [config]");
|
||||||
}
|
}
|
||||||
|
|
||||||
RunnerSettings settings = _store.GetSettings();
|
RunnerSettings settings = _store.GetSettings();
|
||||||
|
|||||||
Reference in New Issue
Block a user