try catch block now rethrows exception

Previously errors went unnoticed.