Catch internal error when episode show is referred
@@ -42,6 +42,8 @@ def trakt_url(self):
@property
def show_trakt_id(self):
+ if not self.show:
+ raise RuntimeError(f"Unexpected call: episode without show property")
return self.show.trakt_id
@property
