Commit graph

26 commits

Author SHA1 Message Date
Bradley Schofield
b60c591f8f Merge branch '1.5.x' into 1.5.x-response-request-models 2024-02-13 09:45:59 +00:00
Steven Nguyen
4ace8ed027
Replace catching \Exception with \Throwable
\Exception doesn't work as a catch-all because not everything extends
\Exception. For example, there was a problem where the messaging worker
didn't catch an exception here:

} catch (\Exception $e) {
    $deliveryErrors[] = 'Failed sending to targets ' . $batchIndex + 1 . '-' . \count($batch) . ' with error: ' . $e->getMessage();
} finally {

As such, $deliveryErrors stayed as an empty array. In this case, the
$adapter->send() threw a TypeError which extends Error which implements
Throwable. Updating the catch to catch \Throwable ensures the error is
caught and $deliveryErrors gets updated.
2024-02-08 01:17:54 +00:00
shimon
350d72eb1f updates 2024-02-01 12:21:50 +02:00
shimon
d220c2bdd7 Added marked_for_deletion and billing_plan_downgrade
to hamster export
2024-01-22 14:48:25 +02:00
shimon
2b865bdf97 Added marked_for_deletion and billing_plan_downgrade
to hamster export
2024-01-22 11:29:11 +02:00
德华 刘
d04f9f41c3 chore: refactor code 2024-01-22 08:30:48 +00:00
德华 刘
ff7523d6db chore: refactor code 2024-01-22 08:26:38 +00:00
shimon
9fc1b0b71b Added marked_for_deletion and billing_plan_downgrade
to hamster export
2024-01-22 10:09:13 +02:00
shimon
0e30f6533e Added marked_for_deletion and billing_plan_downgrade
to hamster export
2024-01-22 09:54:09 +02:00
shimon
c116de29e1 Added marked_for_deletion and billing_plan_downgrade
to hamster export
2024-01-22 09:28:45 +02:00
shimon
6bd810cb3a hamster additions 2024-01-17 22:19:00 +02:00
shimon
0d106684ae hamster additions 2024-01-17 22:10:06 +02:00
Shimon Newman
e5245909e3
Update src/Appwrite/Platform/Workers/Hamster.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-17 22:09:17 +02:00
Shimon Newman
3f63b87ea6
Update src/Appwrite/Platform/Workers/Hamster.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-17 22:09:02 +02:00
Shimon Newman
c1ca623bab
Update src/Appwrite/Platform/Workers/Hamster.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-17 22:08:44 +02:00
Shimon Newman
5d164e0592
Update src/Appwrite/Platform/Workers/Hamster.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-17 22:08:37 +02:00
Shimon Newman
a954cea8fc
Update src/Appwrite/Platform/Workers/Hamster.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-17 22:08:29 +02:00
shimon
f9d6da6672 hamster additions 2024-01-17 21:58:16 +02:00
shimon
40e17ad625 hamster additions 2024-01-17 21:53:12 +02:00
Bradley Schofield
4cb48638be Rename usage_network_infinity to usage_bandwidth_infinity 2024-01-12 15:22:18 +00:00
德华 刘
65c90c9475 chore: update collection name in hamster 2024-01-09 12:41:58 +00:00
shimon
f14250bf2a sync with main 2024-01-02 12:24:57 +02:00
德华 刘
49bb3444bf chore: add logs 2023-11-30 21:11:31 +00:00
德华 刘
0382b2250a chore: address review comments 2023-11-30 19:22:35 +00:00
德华 刘
f3544485e5 chore: address review comments 2023-11-30 17:41:23 +00:00
Bradley Schofield
dea3e74b6a Implement Job based hamster 2023-11-28 10:19:55 +00:00