I think this kind of raise got to be below the first `virsh secret-set-value` call too. If the first one fails it won't exit.