Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-4099

The server should give a good error message when it can't connect to the DB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • Schema change, 2012-01-12
    • None
    • None
    • None

      Currently, when the DB crashes, we get errors like this:

      @400000004f021eb434c525cc [error] Caught exception in MusicBrainz::Server::Controller::WS::1::ReleaseGroup->lookup "Can't call method "artist_credit" on an undefined value at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Controller/WS/1/ReleaseGroup.pm line 35."

      Instead it should catch the error and give a proper message that our DB is unavailable.

            acid2 Oliver Charles
            rob Robert Kaye
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                Schema change, 2012-01-12