modify error case when master is not available to not print a stacktrace