Fix logging of errors, Karma expects a string. Reset errors after every cycle.
Fix logging of errors, Karma expects a string. Reset errors after every cycle.

JamieMason/karma-benchmark,JamieMason/karma-benchmark