Uploaded image for project: 'Zapped: AcousticBrainz'
  1. Zapped: AcousticBrainz
  2. AB-111

Exit hl-calc cleanly if postgres isn't available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • Server
    • None

      If postgres isn't available and the hl tool starts up early (e.g. during boot), it will fail with an error

      2016-02-18 11:14:17.573190500 sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) FATAL: the database system is starting up

      We should catch these errors somehow and nicely exit without showing a stacktrace. daemontools will start us up again after a few seconds and we can try again

            alastairp Alastair Porter
            alastairp Alastair Porter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package