Make invalid dialects raise a sensible exception

Issue #2060 resolved
Former user created an issue

Misspelling a dialect produces an ImportError; some form of "No support for dialect" error would be more useful.

Example code (misspelled sqlite):

from sqlalchemy import create_engine
create_engine('qlite:///:memory:')

Comments (4)

  1. Former user Account Deleted

    Should result in the following post-patch:

    sqlalchemy.exc.ArgumentError: Could not determine dialect for 'qlite'.
    
  2. Log in to comment