From 451285ba0bff43907bed9dffca34ea7431cd365e Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 2 Apr 2021 18:31:13 -0700 Subject: [PATCH] Fix nameerror exc. --- ycdl/ytrss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ycdl/ytrss.py b/ycdl/ytrss.py index f63e15c..7b579dd 100644 --- a/ycdl/ytrss.py +++ b/ycdl/ytrss.py @@ -27,7 +27,7 @@ def get_user_videos(channel_id): ''' try: return _get_user_videos(channel_id) - except Exception: + except Exception as exc: raise exceptions.RSSAssistFailed(f'Failed to fetch RSS videos.') from exc def get_user_videos_since(channel_id, video_id):