Fix issue with errors index

Also print platform next to errors.