Index: print the symlink path on collision.

This commit is contained in:
Philippe PITTOLI 2024-05-02 23:41:21 +02:00
parent 3a4ffcedd8
commit 9fed7145e5

View File

@ -27,7 +27,7 @@ class DODB::Index(V) < DODB::Indexer(V)
return if symlink == file_path_index old_key.to_s return if symlink == file_path_index old_key.to_s
end end
raise IndexOverload.new "index '#{@name}' is overloaded for key '#{key}'" raise IndexOverload.new "index '#{@name}' is overloaded for key '#{key}', file #{symlink} exists"
end end
end end