doc: fix after message in addAsyncListener example
authorYuriy Nemtsov <nemtsov@gmail.com>
Mon, 3 Feb 2014 20:53:29 +0000 (15:53 -0500)
committerFedor Indutny <fedor.indutny@gmail.com>
Tue, 4 Feb 2014 08:44:15 +0000 (12:44 +0400)
doc/api/process.markdown

index 18cdb5a..1a66807 100644 (file)
@@ -792,7 +792,7 @@ Example usage for capturing errors:
         fs.writeSync(1, 'uid: ' + storage.uid + ' is about to run\n');
       },
       after: function onAfter(context, storage) {
-        fs.writeSync(1, 'uid: ' + storage.uid + ' is about to run\n');
+        fs.writeSync(1, 'uid: ' + storage.uid + ' ran\n');
       },
       error: function onError(storage, err) {
         // Handle known errors