Added OpenAppButton factory method

This commit is contained in:
Alex
2025-08-06 20:52:37 +03:00
parent 62fbb6cf3b
commit 68da594f89
4 changed files with 27 additions and 7 deletions
+2 -2
View File
@@ -251,10 +251,10 @@ class Api
try {
$this->processUpdatesBatch($handlers, $timeout, $marker);
} catch (NetworkException $e) {
error_log("Network error: " . $e->getMessage());
error_log('Network error: ' . $e->getMessage());
sleep(5);
} catch (\Exception $e) {
error_log("An error occurred: " . $e->getMessage());
error_log('An error occurred: ' . $e->getMessage());
sleep(1);
}
}