From d0829a6f960cfce3db34dcfe0629ccc67a26a0fb Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Dec 2018 20:57:46 +0000 Subject: [PATCH] Parallel bugfix --- src/danog/MadelineProto/Magic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/Magic.php b/src/danog/MadelineProto/Magic.php index 9f0cdb26..6698d463 100644 --- a/src/danog/MadelineProto/Magic.php +++ b/src/danog/MadelineProto/Magic.php @@ -110,7 +110,7 @@ class Magic } } } while (true); - } catch (\Exception $e) { + } catch (\Throwable $e) { } if (!self::$can_parallel && !defined('AMP_WORKER')) { define('AMP_WORKER', 1);