return async (root, args, ctx, info, next) => { ...
# support-questions-legacy
e
return async (root, args, ctx, info, next) => { try { const value = await next(root, args, ctx, info) return value } catch (err) { if (SuperTokensError.isErrorFromSuperTokens(err)) { throw err } } }