If there is no err won't err.message throw a TypeError here?