Escape error message before displaying on node state (#369)