groovy

improve error reporting