fix(error): prefix internal errors with "Internal: "

This commit is contained in:
Nova
2022-06-12 11:39:11 -04:00
parent 2cdadcde95
commit 5a9a6afc51
3 changed files with 8 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ impl PulseSender {
pub fn add_to(node: &RcCell<Node>) -> Result<()> {
ensure!(
node.borrow().spatial.is_some(),
"Node does not have a spatial attached!"
"Internal: Node does not have a spatial attached!"
);
let sender = PulseSender {};