Skip to content

Commit 0f7a7ae

Browse files
committed
(GH-71) Fix error exit code
Closes #71
1 parent 9e68742 commit 0f7a7ae

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)