Follow-up from #5640.
InstanceCommon::call_view_with_tx in crates/core/src/host/wasm_common/module_host_actor.rs, view result parsing, guest-returned SQL, constraint violations while writing returned rows, and internal datastore failures share one anyhow::Error log path.
Audit whether these errors can retain enough classification for guest-caused failures, such as invalid results or duplicate primary keys, to use guest logs at warn! or lower while genuine backing-table or datastore failures use error!.
Follow-up from #5640.
InstanceCommon::call_view_with_txincrates/core/src/host/wasm_common/module_host_actor.rs, view result parsing, guest-returned SQL, constraint violations while writing returned rows, and internal datastore failures share oneanyhow::Errorlog path.Audit whether these errors can retain enough classification for guest-caused failures, such as invalid results or duplicate primary keys, to use guest logs at
warn!or lower while genuine backing-table or datastore failures useerror!.