memeinvestor_bot
memeinvestor_bot copied to clipboard
Ensure database operations are completed and successful before replying to requests
Right now some of the request handlers reply to the user before all the relevant database operations have occurred. If a database operation fails, or if some exception is raised after replying that causes the session
to roll back, that would mean we've told the user something happened when in reality it did not.
Has this been fixed?
Kind of. Not as we would like it to be. So, if fail happens, we rollback
In the Go rewrite, GORM will do all the error handling for us