Closed haroon-sheikh closed 6 years ago
@haroon-sheikh Gauge expects all environment variables to be available while running the project. It needs to read the variables in the properties files for while starting the IntelliJ plugin too. This is the expected behaviour.
Can we some how catch the exception? The problem is IntelliJ needs restarting once you add the env variables.
I don't think that is possible. Its Gauge core that errors out, this is run as a child process of IntelliJ. So catching exceptions is not easy here.
Plugin throws an exception when there's a substituted env var in env properties.
Expected behaviour
Gauge plugin tried to load the env var before running the tests. It should only throw the error on running the spec.
Actual behaviour
Steps to reproduce
property=${ENV_VARIABLE}
Version information