bug: (fix) this ACTUALLY fixed the issue of 'Error: can't set headers after they are sent'. The problem was calling 'done' multiple times due to promise chain continuation. Solution: throw errors in thens and do not catch until after all the 'thens'
bug: (fix) this ACTUALLY fixed the issue of 'Error: can't set headers after they are sent'. The problem was calling 'done' multiple times due to promise chain continuation. Solution: throw errors in thens and do not catch until after all the 'thens'

zhanwenchen/blog,zhanwenchen/blog