Open WKleinschmit opened 4 years ago
Nothing, it seems :-) Code is similar to the test we have here, so that should be good.
Any chance you could try to add a try/catch around it or use another means of capturing the unexpected end of your app?
I've tried the same call using the RestSharp library and it turns out the issue creation fails with a "BadRequest" response due to some workflow that is denying access. (Issue to our IT is pending,)
But still, that should not make the whole program just vanish. And no, a try/catch block around the call does nothing. Looks like there is no exception to catch, the program is just aborted.
YouTrackSharp throws an exception when this happens, the app/.net runtime should be able to handle that gracefully.
Wondering if you have some code we could use to reproduce the issue?
Hello, I'm using version 2019.2.0 on a version on a 2019.2 server and I want to create a new issue. This is my code:
During the call to
CreateIssue
my program just ends without any error message and the issue is not created. What am I doing wrong?