replace exception rethrowing by log