DatabaseReplication.py - Adding in more logging to catch error.
fixes #1