Wrap subscription.js call with try/except