From f4bfc97e7fe9eab7ef5820134fa879690fd35475 Mon Sep 17 00:00:00 2001 From: ronkorving Date: Thu, 2 Apr 2015 14:29:09 +0900 Subject: [PATCH] Readme cleanup --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 2a48233d0..cf85d8e1e 100644 --- a/Readme.md +++ b/Readme.md @@ -992,7 +992,7 @@ as described [in the MySQL documentation](http://dev.mysql.com/doc/refman/5.5/en ## Ping A ping packet can be sent over a connection using the `connection.ping` method. This -mehtod will send a ping packet to the server and when the server responds, the callback +method will send a ping packet to the server and when the server responds, the callback will fire. If an error occurred, the callback will fire with an error argument. ```js @@ -1090,7 +1090,7 @@ connection.on('error', function(err) { connection.query('USE name_of_db_that_does_not_exist'); ``` -Note: `'error'` are special in node. If they occur without an attached +Note: `'error'` events are special in node. If they occur without an attached listener, a stack trace is printed and your process is killed. **tl;dr:** This module does not want you to deal with silent failures. You