ldb: pass module init errors back to the caller