record error on deploy