fix 1040 report error on failing delete_namespace