Changed log on error as it made workers die