create a postLaunchHandler that can return errors from instruments.start()