Fixed error where certain error conditions weren't writing the error back down
to the browser.