ApplyAllConfiguredChangesToDatabaseAsync fails fast, what could be the reasons? #2461
Unanswered
ulf-melin-sveasolar
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Anywhere the exception get swallowed. So for the docker-scenario try to remove all exception-handling /-logic, so that the unhandled exception can escape, and then you should be able to see what's printed there. Just from looking at the fragment of code you posted (BTW: in Github it's also possible to format the code so it's easier to read, thus for you easier to help) it's impossible to tell what is going on. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I am trying to implement a .net 6 console application that will upgrade the event store database schema but have run into problems. The process exits when I run "await ApplyAllConfiguredChangesToDatabaseAsync()" and it does not tell me why.
The following is my code, before this I have set up the store with the correct connection string and searchpath and then when I run this locally using F5 in Visual Studio it all works as expected, no problem. But when I build a docker image and execute it there the process dies without executing neither the catch- nor the finally-clauses. I have a global UnhandledErrorHandler also, but that does not get executed either.
So does any one have an idea on how to track down what is wrong with my code?
Beta Was this translation helpful? Give feedback.
All reactions