fix webhook plugin
This commit is contained in:
parent
2aa93fa341
commit
1b0bbbbbfd
@ -158,6 +158,8 @@ class WebHook(_PluginBase):
|
|||||||
return _event
|
return _event
|
||||||
elif hasattr(_event, '__dict__'):
|
elif hasattr(_event, '__dict__'):
|
||||||
return _event.__dict__
|
return _event.__dict__
|
||||||
|
else:
|
||||||
|
return str(_event)
|
||||||
|
|
||||||
event_info = {
|
event_info = {
|
||||||
"type": event.event_type,
|
"type": event.event_type,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user