From d0fa8d6f63003a6cb2f1897158bc587ab2344ea3 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 13 Apr 2023 02:14:53 +0300 Subject: 1.6.0: support signals --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 97d8d02..9d6993b 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Here's a small example. ```php try { $jobd = new jobd\MasterClient(); -} catch (jobd\Exception $e) { +} catch (\jobd\exceptions\JobdException $e) { die("Failed to connect.\n"); } @@ -29,7 +29,7 @@ try { // get status from master $status = $jobd->status()->getData(); -} catch (jobd\Exception $e) { +} catch (\jobd\exceptions\JobdException $e) { die('jobd error: '.$e->getMessage()."\n"); } -- cgit v1.2.3