Lack of exception when deregistering not existing service

We have migrated from 1.3.1 to 1.6.4 .

After migration it turned out that one of our integration test is failing.

It looks that when trying to deregister a not existing service

consul.catalogClient.deregister()

we expect ConsulException to be thrown, but actually nothing is happening. That invocation is finished successfully

Has anything changed regarding handling deregistration?

I checked changelog

but I did not find anything that could explain this behaviour.

Our client libs:

com.orbitz.consul consul-client 1.3.2

Your cluster is running version 1.6.4 and your client libs 1.3.2?

I was testing with a consul-client 1.3.9 (the newest is 1.4.2) as well.