Particular / NServiceBus

Build, version, and monitor better microservices with the most powerful service platform for .NET
https://particular.net/nservicebus/
Other
2.09k stars 648 forks source link

More descriptive error message when TopShelf refuses to start endpoint due to invalid configuration #1047

Closed jenspettersson closed 10 years ago

jenspettersson commented 11 years ago

When TopShelf refuses to start the endpoint (due to, what I've learned from Andreas, invalid naming of services/endpoints) and tries to start the service from the Service Manager, all you get is a rather generic error message:

Description: The process was terminated due to an unhandled exception. Exception Info: Topshelf.Exceptions.ConfigurationException

//J

EDIT: In this case it was a /serviceName:"my cool app" that caused it

andreasohlund commented 11 years ago

In this case it was a /serviceName:"my cool app" that caused it

Sent from my iPhone

On 11 mar 2013, at 16:30, Jens Pettersson notifications@github.com wrote:

When TopShelf refuses to start the endpoint (due to, what I've learned from Andreas, invalid naming of services/endpoints) and tries to start the service from the Service Manager, all you get is a rather generic error message:

Description: The process was terminated due to an unhandled exception. Exception Info: Topshelf.Exceptions.ConfigurationException

//J

— Reply to this email directly or view it on GitHub.

jenspettersson commented 11 years ago

Yes ofc, sorry for leaving that rather important detail out of the issue... Original issue updated.

SimonCropp commented 10 years ago

redundant since we are going to remove topshelf https://github.com/Particular/NServiceBus/issues/2201