Print dbpath at error log when failed to open db