Update migrate_config with error typo

Signed-off-by: Michal Szczepanski <michal@vane.pl>
This commit is contained in:
Michal Szczepanski 2020-11-10 01:01:25 +01:00
parent 1b397d694e
commit e16c48983b
No known key found for this signature in database
GPG Key ID: 3DCEFDDFCCB1DC69

@ -15,7 +15,7 @@ class MigrateConfig:
self._conf = yaml.safe_load(data)
# validate config
if not 'db' in self._conf:
raise RuntimeError('Missing aiopg parameter in config')
raise RuntimeError('Missing asyncpg parameter in config')
return True
raise RuntimeError(f'Failed to read config from file : {fname}')