Fix continuation passing

The express middleware must send null for error and the template
rendering as the value.