Skip to content

Proper exception handling #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cternes opened this issue Feb 13, 2014 · 0 comments
Open

Proper exception handling #35

cternes opened this issue Feb 13, 2014 · 0 comments

Comments

@cternes
Copy link

cternes commented Feb 13, 2014

How can I handle exceptions properly?
I have created an eventHandler to get notified of messages:

((IAzureManager)deploymentManager).AzureTaskComplete += TaskComplete;

But this gives too less information if a WebException is thrown. This is the information I get if a WebException occurs during deployment:

System.Net.WebException: The remote server returned an error: (404) Not Found.

Is there a way to get more information from the exception?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant