The try/catch block in sql_connect() is catching a namespaced version of Exception instead of the standard class. Additionally, the calls to sql_connect() don't actually use the return value, so the connection error needs to be stored in connect_error since SQLite can't be queried later for the last error in this state.
-
nicofuma
-
Patrick Webster
- Votes:
-
0 Vote for this issue
- Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved: