catch exceptions in FunctionImageStream and emit them on an error channel