ddpg: check for and report errors then abort if appropriate

Signed-off-by: Peter Williams <pwil3058@gmail.com>