erikbern / ann-benchmarks

Benchmarks of approximate nearest neighbor libraries in Python
http://ann-benchmarks.com
MIT License
4.73k stars 715 forks source link

fix error reporting of runner #505

Closed tureba closed 1 month ago

tureba commented 3 months ago

When an error is reported, container.logs() returns an iterator over lines of bytes. The decode() function should apply to each line, not to the iterator, otherwise we get no logs, but an error message saying there is no decode() function in the iterator.

This change follows the same pattern as stream_logs() in the same file.

erikbern commented 1 month ago

thanks!