when an exception happens when calling a Groovy class, log that exception rather than the wrapping reflection exception