mirror of
https://github.com/actions/runner.git
synced 2026-01-01 15:07:38 +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));
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user