Removed errorInCallback from the DemoHub sample