You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Everytime we use the database, we should be checking for errors. #520
In the import parser we have a lot of cases where we fire of queries and just assume that they've worked, this is not-good. It's probably worth just writing a thin wrapper around PDO to check for failures, so we don't have to modify code in a thousand places with error catches.
The end result I'm seeing is that on huge imports, MySQL is going away before the API Key is written to the database, and it's dying silently. 💀 No good.
Bonus points for catching mysql going away and re-connecting automatically.
Activity
waldoj commentedon Dec 7, 2013
👍
Adding new database wrapper & tests. Resolves #520