-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare sancho-3-0-0 #1581
Prepare sancho-3-0-0 #1581
Conversation
efd57e6
to
badac31
Compare
@@ -1390,16 +1390,15 @@ insertScript :: | |||
Trace IO Text -> | |||
DB.TxId -> | |||
Generic.TxScript -> | |||
ExceptT SyncNodeError (ReaderT SqlBackend m) DB.ScriptId | |||
ReaderT SqlBackend m DB.ScriptId |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come we're removing the error handling SyncNodeError
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SyncNodeError
cannot happen in this function. ReaderT
is lifted to ExceptT
, but that's unnecessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one question
Description
Add your description here, if it fixes a particular issue please provide a link to the issue.
Checklist
fourmolu
on version 0.10.1.0 (which can be run withscripts/fourmolize.sh
)Migrations
If there is a breaking change, especially a big one, please add a justification here. Please elaborate
more what the migration achieves, what it cannot achieve or why a migration is not possible.