Skip to content

Commit 0c47f73

Browse files
seratchpsykzz
andcommitted
Update the error message accordingly
Co-authored-by: Matt Smith <[email protected]>
1 parent f7526f2 commit 0c47f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slackeventsapi/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, signing_secret, endpoint, emitter, server):
2121
if isinstance(server, Flask) or isinstance(server, Blueprint):
2222
self.bind_route(server)
2323
else:
24-
raise TypeError("Server must be an instance of Flask")
24+
raise TypeError("Server must be an instance of Flask or Blueprint")
2525
else:
2626
Flask.__init__(self, __name__)
2727
self.bind_route(self)

0 commit comments

Comments
 (0)