Skip to content

Commit 16c606e

Browse files
authored
Merge pull request #238 from ali-ince/1.5-fix-error-message
fixed error message
2 parents 2241aca + 23d59b2 commit 16c606e

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)