Add some extra info to the 'modified without updating' message
For #2315
This commit is contained in:
parent
b8a8342a9a
commit
03814fa1c4
@ -97,7 +97,10 @@ impl Collection {
|
|||||||
.or_not_found(entry.card_id())?;
|
.or_not_found(entry.card_id())?;
|
||||||
require!(
|
require!(
|
||||||
card.mtime == entry.mtime(),
|
card.mtime == entry.mtime(),
|
||||||
"bug: card modified without updating queue",
|
"bug: card modified without updating queue: id:{} card:{} entry:{}",
|
||||||
|
card.id,
|
||||||
|
card.mtime,
|
||||||
|
entry.mtime()
|
||||||
);
|
);
|
||||||
|
|
||||||
// fixme: pass in card instead of id
|
// fixme: pass in card instead of id
|
||||||
|
Loading…
Reference in New Issue
Block a user