Adapter does not check errors except "unknown database"

Related to https://github.com/1602/compound/issues/529
Rewritten to be more clean