Skip to content

Commit c9a94ef

Browse files
author
Zhen Li
committed
Improved error message in leaked session detection to reflect the changes to the resource management in driver.
1 parent ba9ba0f commit c9a94ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/src/main/java/org/neo4j/driver/internal/LeakLoggingNetworkSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private void logLeakIfNeeded()
4949
if ( isOpen )
5050
{
5151
logger.error( "Neo4j Session object leaked, please ensure that your application" +
52-
"calls the `close` method on Sessions before disposing of the objects.\n" +
52+
"fully consumes results in Sessions or explicitly calls `close` on Sessions before disposing of the objects.\n" +
5353
"Session was create at:\n" + stackTrace, null );
5454
}
5555
}

0 commit comments

Comments
 (0)