scriptindex: Improve error handling for LOAD action
commit069810b80ef586857a6bd530c87262f04d81c4ee
authorOlly Betts <olly@survex.com>
Fri, 2 Nov 2018 03:42:20 +0000 (2 16:42 +1300)
committerOlly Betts <olly@survex.com>
Fri, 2 Nov 2018 03:42:20 +0000 (2 16:42 +1300)
tree2db7896d982d86e5258ce570d12532109b3a6a8b
parent2291e09dd498bdb78a1a752c4189d970f7b04bc6
scriptindex: Improve error handling for LOAD action

If we successfully opened the file but hit an error reading
from it we would have reported the partial contents read so far instead
of the filename in the error message.
xapian-applications/omega/scriptindex.cc