databasequeryer.py: cast database error to str when logging to avoid cast error
databasequeryer.py: cast database error to str when logging to avoid cast error

BelledonneCommunications/flexisip,gale320/flexisip,gale320/flexisip,BelledonneCommunications/flexisip,BelledonneCommunications/flexisip,biddyweb/flexisip,gale320/flexisip,BelledonneCommunications/flexisip,gale320/flexisip,biddyweb/flexisip,biddyweb/flexisip,biddyweb/flexisip