Fixes issue with too many errors breaking logging