There is a javascript error during execution of the services/agent-service.js.
It happens when request.body.domSnapshot is not a typeof Array or String.

Please can this line:
https://github.com/percy/percy-agent/blob/master/src/services/agent-service.ts#L82
if (domSnapshotLog.length > Constants.MAX_LOG_LENGTH) {
be changed to something like:
if (domSnapshotLog && domSnapshotLog.length > constants_1.default.MAX_LOG_LENGTH) {
Same goes for:
https://github.com/percy/percy-agent/blob/master/src/services/agent-service.ts#L120
if (domSnapshot.length > constants_1.default.MAX_FILE_SIZE_BYTES) {
to
if (domSnapshot && domSnapshot.length > constants_1.default.MAX_FILE_SIZE_BYTES) {
@djones djones FYI