Skip to content

Commit b2598a6

Browse files
author
Ferenc Hammerl
committed
Throw NonRetryableException if not configured
1 parent 7574efa commit b2598a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runner.Listener/Configuration/ConfigurationManager.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public RunnerSettings LoadSettings()
5454
Trace.Info(nameof(LoadSettings));
5555
if (!IsConfigured())
5656
{
57-
throw new InvalidOperationException("Not configured. Run config.(sh/cmd) to configure the runner.");
57+
throw new NonRetryableException("Not configured. Run config.(sh/cmd) to configure the runner.");
5858
}
5959

6060
RunnerSettings settings = _store.GetSettings();

0 commit comments

Comments
 (0)