-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Produce NoSuchTable Pact error, and clean up ChainwebPactDb
NoSuchTable is a new Pact error case as of Pact 5, but we never throw it. Instead, when a table is missing, sqlite throws an exception, and this is recorded as an "unknown database error" by Pact. But we can easily throw it, as shown here, and simultaneously clean up some of the more repetitious and error-prone conditionals in Pact 5's ChainwebPactDb. Change-Id: Id000000030817f20e355d569ca29864db3d777cf
- Loading branch information
1 parent
2c0bd70
commit 2d5ec87
Showing
10 changed files
with
499 additions
and
426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.