8000 [Feature] Show exception traces when debug mode is on · X-Coder264/laravel@45cfc9c · GitHub
[go: up one dir, main page]

Skip to content

Commit 45cfc9c

Browse files
committed
[Feature] Show exception traces when debug mode is on
Closes laravel-json-api#85
1 parent 8725cfa commit 45cfc9c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ All notable changes to this project will be documented in this file. This projec
1414
- The request class now has a `isCreatingOrUpdating()` helper method to determine whether the request is to create or
1515
updated a resource.
1616
- Add stop on first failure to all validators in the resource request class.
17+
- [#85](https://github.com/laravel-json-api/laravel/issues/85) When running an application with debug mode turned on,
18+
the default JSON:API error object for an exception will now contain detailed exception information, including the
19+
stack trace, in the object's `meta` member.
1720

1821
### Changed
1922

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"laravel-json-api/core": "^1.0.0-beta.5",
2929
"laravel-json-api/eloquent": "^1.0.0-beta.5",
3030
"laravel-json-api/encoder-neomerx": "^1.0.0-beta.1",
31-
"laravel-json-api/exceptions": "^1.0.0-beta.2",
31+
"laravel-json-api/exceptions": "^1.0.0-beta.4",
3232
"laravel-json-api/spec": "^1.0.0-beta.1",
3333
"laravel-json-api/validation": "^1.0.0-beta.2",
3434
"laravel/framework": "^8.30"

0 commit comments

Comments
 (0)
0