Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions docs/config/sentry.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,32 @@ All you need to do is set the `SENTRY_DSN` environment variable in your `.env` f
SENTRY_DSN=http://sentry@127.0.0.1:8000/1
```

## Magento 2

### Installation

Magento 2 is supported via the following package, you can read more about it [here](https://github.com/justbetter/magento2-sentry)

### Configuration

Refer to the [Configuration section](https://github.com/justbetter/magento2-sentry#configuration).

Either set

```dotenv
CONFIG__SENTRY__ENVIRONMENT__DSN=http://sentry@127.0.0.1:8000/1
```

or

```php
'sentry' => [
'dsn' => 'http://sentry@127.0.0.1:8000/1',
...
]
```
in the `app/etc/env.php`

## Other platforms

To report to Buggregator you’ll need to use a language-specific SDK. The Sentry team builds and maintains these for most
Expand Down
16 changes: 16 additions & 0 deletions docs/config/smtp.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,20 @@ MAILER_DSN=smtp://127.0.0.1:1025
MAIL_MAILER=smtp
MAIL_HOST=127.0.0.1
MAIL_PORT=1025
```

## Magento 2

```dotenv
CONFIG__DEFAULT__SYSTEM__SMTP__TRANSPORT="smtp"
CONFIG__DEFAULT__SYSTEM__SMTP__HOST="127.0.0.1"
CONFIG__DEFAULT__SYSTEM__SMTP__PORT="1025"
```

or

```bash
bin/magento config:set system/smtp/transport smtp
bin/magento config:set system/smtp/host 127.0.0.1
bin/magento config:set system/smtp/port 1025
```