[bug 1139545] Wrap hb integrity error with logging
[bug 1139545] Wrap hb integrity error with logging

Pretty sure we can fix this just by wrapping it with a transaction, but
I still can't see what's going on. So for now, I'm going to log errors
so I can see what's going on.

lgp171188/fjord,Ritsyy/fjord,Ritsyy/fjord,Ritsyy/fjord,rlr/fjord,hoosteeno/fjord,rlr/fjord,staranjeet/fjord,staranjeet/fjord,mozilla/fjord,hoosteeno/fjord,hoosteeno/fjord,rlr/fjord,mozilla/fjord,staranjeet/fjord,mozilla/fjord,hoosteeno/fjord,lgp171188/fjord,Ritsyy/fjord,staranjeet/fjord,lgp171188/fjord,lgp171188/fjord,mozilla/fjord,rlr/fjord