show exeption if db connect fails