Skip to content

Commit

Permalink
Update error-handling.md
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs authored Feb 8, 2023
1 parent e891efa commit 89969ff
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions acorn/error-handling.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date_modified: 2023-02-08 09:27
date_modified: 2023-02-08 09:46
date_published: 2021-10-21 13:21
description: Acorn automatically handles logging and rendering thrown exceptions in dev. Logs default to the the `storage/logs`
title: Error Handling
Expand Down Expand Up @@ -36,9 +36,14 @@ Not only does it provide useful hints pertaining to your error, it also allows y
To use Ignition, simply require it alongside Acorn as a dev-dependency:

```shell
$ composer require spatie/laravel-ignition -D
$ composer require spatie/laravel-ignition --dev
```

::: warning
PHP >= 8.1 is a requirement to use Ignition with Acorn v3
:::


### Reporting exceptions

Exception reporting can be used to log exceptions to storage or send them to an external service such as Sentry. By default, exceptions will be logged to disk located in the `storage/logs` folder.
Expand Down

0 comments on commit 89969ff

Please sign in to comment.