mirror of
https://github.com/zhayujie/bot-on-anything.git
synced 2026-02-15 08:15:47 +08:00
fix error channel_type tips
This commit is contained in:
@@ -46,4 +46,4 @@ def create_channel(channel_type):
|
||||
return HttpChannel()
|
||||
|
||||
else:
|
||||
raise RuntimeError
|
||||
raise RuntimeError("unknown channel_type in config.json: " + channel_type)
|
||||
|
||||
Reference in New Issue
Block a user