Tasklogs

Not ready for merging yet.
In addition to `error=`, I'd modify the output here a little to include an extra key or two to give context to the error.