Closed rkosafo closed 6 years ago
Good point, these should probably be wrapped in an outer exception containing the filename.
@rspeele What is the final decision on this? Is it to write the outer exception as indicated above or have you decided on some other approach?
Definitely outer exception as above and it's honestly a tiny change, I have just been completely unmotivated in the past couple months. Sorry!
(edit: I have written a commit to help with this, hoping to fix a few of the other quick issues before putting up a new NuGet package)
Is there a way to indicate or determine the sql file responsible for an error during migration?
When there are migration errors (from using the vendor statement a lot), the exception shown is the correct sql error but when multiple sql files were added running the application, it can be a bit difficult to identify which file generated the error.
Example error