add status code to errors on consolewq