Skip to content

Everytime we use the database, we should be checking for errors. #520

Closed

Description

@krusynth

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

  1. waldoj commented on Dec 7, 2013

    @waldoj
    Member

    👍

  2. ghost assigned on Jan 7, 2014
  3. added a commit that references this issue on Jan 10, 2014
    09b5b78
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions