dbmgr : add try... except to handle database insertion errors and display a nicer message on MQ and add more informations about the error in the logs