Skip to content

Commit

Permalink
adding spaces before titles so that atmosphere shows them properly
Browse files Browse the repository at this point in the history
  • Loading branch information
em0ney committed May 1, 2015
1 parent 1dfaf94 commit af86c85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Kickass [Rollbar](https://rollbar.com/) integration for Meteor projects.

###Installation
### Installation

1. Run `meteor add saucecode:rollbar`
2. Set `'ROLLBAR_SERVER_ACCESS_TOKEN'`, `'ROLLBAR_CLIENT_ACCESS_TOKEN'` and optionally, the `'ROLLBAR_ENVIRONMENT'`environment variables with your [client and server access tokens for rollbar](https://rollbar.com/)
Expand All @@ -15,15 +15,15 @@ $ meteor add saucecode:rollbar
$ ROLLBAR_SERVER_ACCESS_TOKEN=acefaketoken1 ROLLBAR_CLIENT_ACCESS_TOKEN=acefaketoken2imsocreative ROLLBAR_ENVIRONMENT=development meteor
```

###Usage
### Usage

You have all the inbuilt [rollbar node functions](https://rollbar.com/docs/notifier/node_rollbar/) available on the server through the namespace `rollbar`.

We have also built in two really simple and useful functions for logging errors from either the client or the server.

### `throwError()`

#####Arguments:
##### Arguments:

1. String(Mandatory): message to log to rollbar via the API.
2. Object(Optional): each key-value pair will be reported in the same rollbar item. Useful for adding more context to your errors
Expand All @@ -32,7 +32,7 @@ We have also built in two really simple and useful functions for logging errors

### `handleError()`

#####Arguments:
##### Arguments:

1. Exception(Mandatory): exception to log to rollbar via the API.
2. Object(Optional): each key-value pair will be reported in the same rollbar item. Useful for adding more context to your errors
Expand Down

0 comments on commit af86c85

Please sign in to comment.