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,
|
'id': iid,
|
||||||
'source': 'inquisitor',
|
'source': 'inquisitor',
|
||||||
'title': title,
|
'title': title,
|
||||||
|
'active': True,
|
||||||
|
'tags': ['inquisitor', 'error']
|
||||||
}
|
}
|
||||||
if body is not None:
|
if body is not None:
|
||||||
item['body'] = '<pre>{}</pre>'.format(body)
|
item['body'] = '<pre>{}</pre>'.format(body)
|
||||||
|
|
Loading…
Reference in New Issue