We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1ec803b + c04a5f0 commit 88e7fd1Copy full SHA for 88e7fd1
mongodb_consistent_backup/Common/Config.py
@@ -105,7 +105,13 @@ def check_required(self):
105
try:
106
self._get(key)
107
except:
108
- raise mongodb_consistent_backup.Errors.OperationError('Field "%s" must be set via command-line or config file!' % key)
+ raise mongodb_consistent_backup.Errors.OperationError(
109
+ 'Field "%s" (config file field: "%s.%s") must be set via command-line or config file!' % (
110
+ key,
111
+ self._config.environment,
112
+ key
113
+ )
114
115
116
def parse(self):
117
self._config.parse(self.cmdline)
0 commit comments