Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
except ConfigParser.NoOptionError:
pass
formatter = ''
try:
formatter = conf.get(name, FORMATTER_PARAM)
except ConfigParser.NoOptionError:
pass
entry_identifier = ''
try:
entry_identifier = conf.get(name, ENTRY_IDENTIFIER_PARAM)
except ConfigParser.NoOptionError:
pass
configured_log = ConfiguredLog(name, token, destination, path, formatter, entry_identifier)
self.configured_logs.append(configured_log)