Skip to content

Commit 559a61b

Browse files
committed
W0231: __init__ method from base class 'Exception' is not called (super-init-not-called)
1 parent 8524115 commit 559a61b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

00-Starter-Seed/server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
# Format error response and append status code.
2424
class AuthError(Exception):
2525
def __init__(self, error, status_code):
26+
super().__init__()
2627
self.error = error
2728
self.status_code = status_code
2829

0 commit comments

Comments
 (0)