Skip to content

Commit 04c6701

Browse files
alexk-blackopsalexk-blackops
authored andcommitted
readme minor fix
1 parent 8615d7d commit 04c6701

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ stackify.log('error', {error : new Error()});
7272
When logging an error message you could pass an Error object in metadata like in the last case so the exception details would be available.
7373

7474
#### Exception handling
75-
By executing stackify.start() you set handler for uncaught exceptions.
75+
By executing `stackify.start()` you set handler for uncaught exceptions.
7676
Be sure to run it before any methods that set exception handlers.
7777

7878
##### Using with pure NodeJS app
79-
If you are not using any of the frameworks and all requests are handled inside native `createServer()` method and you want to get web details of exception to be sent with it you should run stackify.exceptionHandler(req) first line inside of this method :
79+
If you are not using any of the frameworks and all requests are handled inside native `createServer()` method and you want to get web details of exception to be sent with it you should run `stackify.exceptionHandler(req)` first line inside of this method :
8080

8181
```js
8282
var http = require('http');
@@ -88,7 +88,7 @@ http.createServer(function (req, res) {
8888
});
8989
});
9090
```
91-
where req is request object, instance of `http.IncomingMessage`
91+
where req is request object, instance of native NodeJS `http.IncomingMessage` object
9292

9393
You can use it also with any framework that doesn’t modify native createServer method.
9494

0 commit comments

Comments
 (0)