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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Schema change, 2012-01-12
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Schema change, 2012-01-12