Cleaned up exception logging.
This commit is contained in:
@@ -13,16 +13,10 @@ class AccountError(RTVError):
|
||||
class SubmissionError(RTVError):
|
||||
"Submission could not be loaded"
|
||||
|
||||
def __init__(self, url):
|
||||
self.url = url
|
||||
|
||||
|
||||
class SubredditError(RTVError):
|
||||
"Subreddit could not be reached"
|
||||
|
||||
def __init__(self, name):
|
||||
self.name = name
|
||||
|
||||
|
||||
class SubscriptionError(RTVError):
|
||||
"Subscriptions could not be fetched"
|
||||
@@ -30,6 +24,3 @@ class SubscriptionError(RTVError):
|
||||
|
||||
class ProgramError(RTVError):
|
||||
"Problem executing an external program"
|
||||
|
||||
def __init__(self, name):
|
||||
self.name = name
|
||||
|
||||
Reference in New Issue
Block a user