Added temporary error observer code to support specila handling of image read errors without changing existing APIs