currently we just print the error is anything fails in script for rgw, So by that there is no panic or failiure of script if something wrong happened, Added Explicittly forcing to catch the error from the error message that is thrown Closes: https://github.com/rook/rook/issues/12244 Signed-off-by: parth-gr <paarora@redhat.com>