Commits

Remy Blank  committed 568ed85

0.11-stable: Improved the error message when the database connection string has a bad scheme.

Closes #8401.

  • Participants
  • Parent commits bc7f405
  • Branches 0.11-stable

Comments (0)

Files changed (1)

File trac/db/api.py

             host = None
             path = rest
         else:
-            raise TracError('Database connection string must start with '
-                            'scheme:/')
+            raise TracError('Unknown scheme "%s"; database connection string '
+                            'must start with {scheme}:/' % scheme)
     else:
         if not rest.startswith('//'):
             host = None