Improve error msg when runner is not configured

This commit is contained in:
Ferenc Hammerl
2021-05-25 15:03:36 +02:00
parent 59064d8140
commit 59c0a58a72

View File

@@ -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();