log the error but don't rethrow it