Follow-up from #5640.
In crates/core/src/host/wasm_common/module_host_actor.rs, InstanceCommon::update_database logs every error returned by crate::db::update::update_database at warn!.
This combines migration/schema rejections with possible internal datastore failures in a single anyhow::Error. Audit whether they can be classified without a large refactor so internal failures potentially use error!, while migration rejections remain at warn! or lower.
Follow-up from #5640.
In
crates/core/src/host/wasm_common/module_host_actor.rs,InstanceCommon::update_databaselogs every error returned bycrate::db::update::update_databaseatwarn!.This combines migration/schema rejections with possible internal datastore failures in a single
anyhow::Error. Audit whether they can be classified without a large refactor so internal failures potentially useerror!, while migration rejections remain atwarn!or lower.