Better logging and index error reporting