Skip to content

Commit 23d59b2

Browse files
committed
fixed error message
1 parent 507a6fa commit 23d59b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Neo4j.Driver/Neo4j.Driver/Internal/Result/StatementResultCursor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public IRecord Current
112112
{
113113
if (!_atEnd && (_current == null && _peeked == null))
114114
{
115-
throw new InvalidOperationException("Tried to access Current without calling FetchAsync or PeekAsync.");
115+
throw new InvalidOperationException("Tried to access Current without calling FetchAsync.");
116116
}
117117

118118
return _current;

0 commit comments

Comments
 (0)