Bug 834618 - Catch any error thrown from resolveFromOrigin. r=fabrice, a=tef+