Add tags to error item
This commit is contained in:
parent
bb1719e0d6
commit
55214a117a
|
@ -13,6 +13,8 @@ def as_item(title, body=None):
|
|||
'id': iid,
|
||||
'source': 'inquisitor',
|
||||
'title': title,
|
||||
'active': True,
|
||||
'tags': ['inquisitor', 'error']
|
||||
}
|
||||
if body is not None:
|
||||
item['body'] = '<pre>{}</pre>'.format(body)
|
||||
|
|
Loading…
Reference in New Issue