Commits

Remy Blank committed 568ed85

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

Closes #8401.

Comments (0)

Files changed (1)

             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