Fix: SQL errors were not correctly logged
Fix: SQL errors were not correctly logged

blaurent49/duniter,duniter/duniter,duniter/duniter,duniter/duniter,duniter/duniter,blaurent49/duniter,duniter/duniter,blaurent49/duniter,duniter/duniter,blaurent49/duniter