Fix isDbError()
for remote errors
#11027
+66
−43
Merged