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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • Schema change, 2012-01-12
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:

                Version Package
                Schema change, 2012-01-12