Skip to content

Commit 9736e26

Browse files
committed
v1.6.36
1 parent a2e70e1 commit 9736e26

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fleetbase/core-api",
3-
"version": "1.6.35",
3+
"version": "1.6.36",
44
"description": "Core Framework and Resources for Fleetbase API",
55
"keywords": [
66
"fleetbase",

src/Services/SmsService.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,13 @@ protected function sendViaTwilio(string $to, string $text, array $options = []):
161161
'response' => $response,
162162
];
163163
} catch (\Throwable $e) {
164-
return [
165-
'success' => false,
166-
'error' => $e->getMessage(),
167-
'code' => $e->getCode(),
168-
];
164+
// return [
165+
// 'success' => false,
166+
// 'error' => $e->getMessage(),
167+
// 'code' => $e->getCode(),
168+
// ];
169+
170+
throw $e;
169171
}
170172
}
171173

0 commit comments

Comments
 (0)