From f9b28c7210a833d76f70c98f87f1655fedbcbdf3 Mon Sep 17 00:00:00 2001 From: Ethan Chiu Date: Tue, 23 Jun 2020 12:23:02 -0400 Subject: [PATCH] Add helpful error message for null steps --- src/Runner.Worker/ActionManifestManager.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Runner.Worker/ActionManifestManager.cs b/src/Runner.Worker/ActionManifestManager.cs index 1dbf35ace..9095f498d 100644 --- a/src/Runner.Worker/ActionManifestManager.cs +++ b/src/Runner.Worker/ActionManifestManager.cs @@ -419,6 +419,7 @@ namespace GitHub.Runner.Worker { if (stepsLoaded == null) { + // TODO: Add a more helpful error message + including file name, etc. to show user that it's because of their yaml file throw new ArgumentNullException($"No steps provided."); } else