-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
When a NotionException is thrown, the code is always 0
.
To Reproduce
No reproduction needed. See code:
laravel-notion-api/src/Exceptions/NotionException.php
Lines 47 to 51 in 4f75db6
return new NotionException( | |
$message, | |
0, | |
$response->toException() | |
); |
Expected behavior
The exception should contain the HTTP Status code.
Exceptions
.
Additional context
.
See my PR
#88
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working