summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
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");
}