Closed anpete closed 6 years ago
Re the design simplification, it turns out that any random database exception can end up here, and we need a way to deduce that it came from EF. Would love to improve this if you have any ideas.
Don't they all get wrapped? Can you look for a single wrapper type?
No.
Fix aspnet/Home#2820 - UseDatabaseErrorPage throws NullReferenceException when ef exception occur in background task Fix aspnet/EntityFrameworkCore#9599 - Insert entity in non existing table throws NullException
Added null checks to async local access in event callback.
Related to aspnet/Home#2825