Fix error reporting in search-log UI