Skip to content

Commit c23bfd7

Browse files
committed
Merge pull request #568 from mscdex/patch-1
fix code typo in readme
2 parents b6695bb + 3632be5 commit c23bfd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ function handleDisconnect() {
386386
if(err.code === 'PROTOCOL_CONNECTION_LOST') { // Connection to the MySQL server is usually
387387
handleDisconnect(); // lost due to either server restart, or a
388388
} else { // connnection idle timeout (the wait_timeout
389-
throw err; // server variable configures this)
390-
});
389+
throw err; // server variable configures this)
390+
}
391391
}
392392

393393
handleDisconnect();

0 commit comments

Comments
 (0)