segmentio/analytics.js — pull request #155 by calvinfo (2013-05-21 03:16:55+00:00)
Title: user: Wrap cookie parsing in try...catch

As reported by one of our users, parsing the cookie can throw an
error on `user.load`. Instead, we generate a new user if the
cookie is malformed.