Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
DominusKelvin committed Jan 30, 2025
1 parent 7527fcc commit 7b50c7d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Sails Sentry
# Sentry SDK for Sails

A Sails hook for to easily setup up Application Monitoring and Error Tracking with Sentry in Sails applications

## Installation

```bash
npm install sails-sentry
npm install sentry-sails
```

## Usage
Expand All @@ -14,15 +14,13 @@ To use the Sentry hook in your Sails.js application, add the following configura

```javascript
module.exports.sentry = {
dsn: 'your-sentry-dsn',
environment: process.env.NODE_ENV || 'development',
};
dsn: 'your-sentry-dsn'
}
```

## Configuration

- `dsn`: Your Sentry Data Source Name (DSN).
- `environment`: The environment in which your application is running (e.g., development, production).

## License

Expand Down

0 comments on commit 7b50c7d

Please sign in to comment.