aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bridges/RedditBridge.php2
-rw-r--r--bridges/YoutubeBridge.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/bridges/RedditBridge.php b/bridges/RedditBridge.php
index 196f7d20..5f6070e3 100644
--- a/bridges/RedditBridge.php
+++ b/bridges/RedditBridge.php
@@ -90,8 +90,8 @@ class RedditBridge extends BridgeAbstract
} catch (HttpException $e) {
if ($e->getCode() === 429) {
$this->cache->set($cacheKey, true, 60 * 16);
- throw $e;
}
+ throw $e;
}
}
diff --git a/bridges/YoutubeBridge.php b/bridges/YoutubeBridge.php
index 8e3ac540..bff62a90 100644
--- a/bridges/YoutubeBridge.php
+++ b/bridges/YoutubeBridge.php
@@ -205,8 +205,8 @@ class YoutubeBridge extends BridgeAbstract
} catch (HttpException $e) {
if ($e->getCode() === 429) {
$this->cache->set($cacheKey, true, 60 * 16);
- throw $e;
}
+ throw $e;
}
}