@@ -51,7 +51,8 @@ |
||
51 | 51 | $this->logger = $tmdb->getLogger(); |
52 | 52 | $this->params = $this->tmdb->checkOptions($options); |
53 | 53 | $this->data = $this->tmdb->getRequest('person/' . $item_id . '/' . $item_type . '_credits', $this->params); |
54 | - } catch (TmdbException $ex) { |
|
54 | + } |
|
55 | + catch (TmdbException $ex) { |
|
55 | 56 | throw $ex; |
56 | 57 | } |
57 | 58 | } |
@@ -35,7 +35,8 @@ |
||
35 | 35 | $this->cast_class = PeopleMovieCast::class; |
36 | 36 | |
37 | 37 | parent::__construct($tmdb, 'movie', $people_id, $options); |
38 | - } catch (TmdbException $ex) { |
|
38 | + } |
|
39 | + catch (TmdbException $ex) { |
|
39 | 40 | throw $ex; |
40 | 41 | } |
41 | 42 | } |
@@ -35,7 +35,8 @@ |
||
35 | 35 | $this->cast_class = PeopleTVShowCast::class; |
36 | 36 | |
37 | 37 | parent::__construct($tmdb, 'tv', $people_id, $options); |
38 | - } catch (TmdbException $ex) { |
|
38 | + } |
|
39 | + catch (TmdbException $ex) { |
|
39 | 40 | throw $ex; |
40 | 41 | } |
41 | 42 | } |