From 6a58768be5f62a4b40c51670da854d89fff1d846 Mon Sep 17 00:00:00 2001 From: Pierre Grimaud Date: Fri, 27 Jul 2018 16:10:36 +0200 Subject: [PATCH] Fix example --- examples/medias.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/medias.php b/examples/medias.php index 9f544f7..27d71dc 100644 --- a/examples/medias.php +++ b/examples/medias.php @@ -62,8 +62,8 @@ // And etc... -} Catch (\Instagram\Exception\InstagramException $exception) { +} catch (Exception $exception) { + print_r($exception->getMessage()); +} catch (\GuzzleHttp\Exception\GuzzleException $e) { print_r($exception->getMessage()); } - -// Second page \ No newline at end of file