From 59c0a58a721416570d54a062974d265da4fa7abf Mon Sep 17 00:00:00 2001 From: Ferenc Hammerl Date: Tue, 25 May 2021 15:03:36 +0200 Subject: [PATCH] Improve error msg when runner is not configured --- src/Runner.Listener/Configuration/ConfigurationManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner.Listener/Configuration/ConfigurationManager.cs b/src/Runner.Listener/Configuration/ConfigurationManager.cs index 8d08b063e..6226a4d08 100644 --- a/src/Runner.Listener/Configuration/ConfigurationManager.cs +++ b/src/Runner.Listener/Configuration/ConfigurationManager.cs @@ -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();