add error listener

Signed-off-by: Dakota Bailey <dbailey@pivotallabs.com>