Log specifics of hash collisions

This commit is contained in:
jacqueline
2023-07-31 11:33:58 +10:00
parent 8f0b942cdd
commit 34a4207fb9
+2 -1
View File
@@ -250,7 +250,8 @@ auto Database::Update() -> std::future<void> {
dbPutTrackData(existing_data->Exhume(path));
dbCreateIndexesForTrack({*existing_data, tags});
} else if (existing_data->filepath() != path) {
ESP_LOGW(kTag, "tag hash collision");
ESP_LOGW(kTag, "tag hash collision for %s and %s",
existing_data->filepath().c_str(), path.c_str());
}
});
});