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.
1 parent 054aa7a commit c04a5f0Copy full SHA for c04a5f0
mongodb_consistent_backup/Common/Config.py
@@ -88,7 +88,13 @@ def check_required(self):
88
try:
89
self._get(key)
90
except:
91
- raise mongodb_consistent_backup.Errors.OperationError('Field "%s" must be set via command-line or config file!' % key)
+ raise mongodb_consistent_backup.Errors.OperationError(
92
+ 'Field "%s" (config file field: "%s.%s") must be set via command-line or config file!' % (
93
+ key,
94
+ self._config.environment,
95
+ key
96
+ )
97
98
99
def parse(self):
100
self._config.parse(self.cmdline)
0 commit comments