1
0
Fork 0
mirror of synced 2024-06-30 04:00:34 +12:00

Merge remote-tracking branch 'origin/1.4.x' into chore-update-appwrite-version

This commit is contained in:
Jake Barnby 2023-09-15 12:21:42 -04:00
commit ff7b102550
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
3 changed files with 8 additions and 3 deletions

2
.gitmodules vendored
View file

@ -1,4 +1,4 @@
[submodule "app/console"]
path = app/console
url = https://github.com/appwrite/console
branch = 3.0.4
branch = 3.1.0

@ -1 +1 @@
Subproject commit 88b6d59051992ed86183ee83d77bf678d1cb73bf
Subproject commit 1d604a0b0d66846c9ff3f1496a5a8698c86ebb12

View file

@ -89,7 +89,12 @@ class Schedule extends Action
$sum = count($results);
$total = $total + $sum;
foreach ($results as $document) {
$schedules[$document['resourceId']] = $getSchedule($document);
try {
$schedules[$document['resourceId']] = $getSchedule($document);
} catch (\Throwable $th) {
Console::error("Failed to load schedule for project {$document['projectId']} and function {$document['resourceId']}");
Console::error($th->getMessage());
}
}
$latestDocument = !empty(array_key_last($results)) ? $results[array_key_last($results)] : null;