fixed error message parsing
Merge pull request #12 from yanicklandry/feature/uncaught-db-error

fixed error message parsing