     else
       ident ?= getReferralContext()
     ident.id = id if id?
-    @storage.set(key, ident)
+
+    try @storage.set(key, ident)
+
     ident
 
   onUpdate : () =>



    checkConfig(config).then (config)=>
      org = extractDomainFromUrl(config.orgUrl) 
      ns = ['hull'].concat(org.split('.')).join('_')
      @storage = localstorage.create({ namespace: ns })
      @_clientConfig = config

        config = { only: (m.toString() for m in config.only) }
      else if config.ignore?
        config = { ignore: (m.toString() for m in config.ignore) }
      else
        config
    when "RegExp"
      config = { only: config.toString() }
