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 85978f3 commit 29d7d9aCopy full SHA for 29d7d9a
pycsw/ogc/api/records.py
@@ -136,8 +136,8 @@ def __init__(self, config: dict):
136
max_retries = self.config['repository'].get('maxretries', 5)
137
while not connection_done and max_attempts <= max_retries:
138
try:
139
- self.repository = rs_cls(self.repository['repository'], self.context)
140
- LOGGER.debug('Custom repository %s loaded (%s)', rs, self.repository.dbtype)
+ self.repository = rs_cls(self.config['repository'], self.context)
+ LOGGER.debug('Custom repository %s loaded' % self.config['repository']['source'])
141
connection_done = True
142
except Exception as err:
143
LOGGER.debug(f'Repository not loaded retry connection {max_attempts}: {err}')
0 commit comments