Added error counter event for when errors are logged