Changed DatabaseDataError to DataError.
Moved comment in config.py to where it made more sense.