fix ConfigError captureStackTrace