Skip to content

Commit 7979d57

Browse files
authored
Merge pull request #72 from TraGicCode/GH-71-fix-failure-exit-code
(GH-71) Fix error exit code
2 parents 9e68742 + 0f7a7ae commit 7979d57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/BuslyCLI.Console/Spectre/AppConfiguration.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ public static Action<IConfigurator> GetSpectreCommandConfiguration()
5353
demo.AddCommand<StartDemoCommand>("start")
5454
.WithDescription("Start a demo endpoint that can receive any command and a single 'Messages.Events.OrderPlaced' event.");
5555
});
56+
#if DEBUG
5657
config.PropagateExceptions();
58+
#endif
5759
};
5860
}
5961
}

0 commit comments

Comments
 (0)