Log specifics of hash collisions

custom
jacqueline 2 years ago
parent 8f0b942cdd
commit 34a4207fb9
  1. 3
      src/database/database.cpp

@ -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());
}
});
});

Loading…
Cancel
Save