Skip to content

Commit 125361c

Browse files
authored
Remove runtime log (#268)
This small console.log was showing up when testing with the driver. This PR switches it to use `this.debug`. <img width="893" alt="Screenshot 2025-06-03 at 19 22 36" src="https://github.com/user-attachments/assets/fa81738b-72c3-43bb-91f1-d268e1884336" />
1 parent b1b20aa commit 125361c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class DgraphClient {
107107
this.clients.forEach((clientStub) => {
108108
try {
109109
clientStub.close() // Call the close method on each client stub
110-
console.log('Closed client stub successfully')
110+
this.debug('Closed client stub successfully.')
111111
} catch (error) {
112112
console.error('Failed to close client stub:', error)
113113
}

0 commit comments

Comments
 (0)