Skip to content

Commit b969381

Browse files
Merge pull request #31 from dimitriBouteille/develop
πŸ“¦ Release v1.2.1
2 parents 5c55562 + 702fe1b commit b969381

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

β€Ž.github/release.ymlβ€Ž

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
changelog:
2+
categories:
3+
- title: Breaking Changes πŸ› 
4+
labels:
5+
- Breaking change
6+
- title: New Features πŸ’Ž
7+
labels:
8+
- Feature
9+
- title: Fixes ⛑️
10+
labels:
11+
- Fix
12+
- title: Other Changes πŸ–‡οΈ
13+
labels:
14+
- "*"

β€Žsrc/Wrappers/RestWrapper.phpβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ protected function onError(\Exception $exception): \WP_REST_Response
7171
message: $rootException->getMessage(),
7272
errorCode: $exception->getErrorCode(),
7373
httpStatusCode: $exception->getHttpStatusCode(),
74-
additionalData: [
74+
additionalData: array_merge($exception->getAdditionalData(), [
7575
'exception' => $rootException->getTraceAsString(),
76-
],
76+
]),
7777
previous: $rootException,
7878
);
7979
}

0 commit comments

Comments
Β (0)