Made Db Frontend handle exceptions