Added catching sql errors