Contract doesn't throw IllegalArgumentException on Windows


(Daniel Bedggood) #1

Hi,

I am playing around with part two of the Hello World tutorial in kotlin.
When I create a state that doesn’t satisfy the contract it rejects the transaction, However there is no IllegalArgumentException in the terminal. It says Unstarted but it doesn’t say Done. I can see in the logs for the node that it was rejected, and nothing is added to the vault.

Also when I do the same thing with the same code on a mac it does give the exception. It says Done with the exception below it.

Does anyone know why this might be? Is it important that I get the exception? Other than this it is working at the moment, I just don’t want this to be a problem that comes up later.

Thank you