An error in a web page displayed on a device is detected. The error is
assigned to a bucket to indicate a type of the error, and a record
describing the current state of the device is generated. Both an
indication of the bucket and the record describing the current state of
the device are then sent to a server. At the server, error information
including error records and bucket identifiers are received from multiple
devices. Each error record describes a current state of one of the
multiple devices at a time when an error in a web page displayed on the
one device was detected. Each bucket identifier corresponds to one of the
error records and describes a type of the error associated with that
error record. The error records are grouped into multiple baskets based
at least in part on the current state information in the error records.