[#6553] fix taskd error logging (again)

* don't re-raise an error after we've logged it already
* commit [2b7892] was incorrect in saying that errormiddleware wasn't used for taskd,
only StatusCodeRedirect was bypassed.  Now we *do* bypass error middleware also