fix: inconsistency
This commit is contained in:
parent
e5fa7942c7
commit
9d404e0dae
@ -122,7 +122,9 @@ class Database:
|
|||||||
if failed:
|
if failed:
|
||||||
failed['items'][value['item']] = value['amount']
|
failed['items'][value['item']] = value['amount']
|
||||||
else:
|
else:
|
||||||
failed = dict(value)
|
failed = {'user': user, 'items': {value['item']: value['amount']}}
|
||||||
|
if date:
|
||||||
|
failed['date'] = date
|
||||||
LOGGER.exception(e)
|
LOGGER.exception(e)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
LOGGER.exception(e)
|
LOGGER.exception(e)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user