Catch error if database table is not created yet