From c49188847a431f85257a1a926474bd762f6875a0 Mon Sep 17 00:00:00 2001 From: Jaroslaw Konik Date: Mon, 26 May 2025 07:00:00 +0200 Subject: [PATCH] improve err --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 2c8a116..c6943e9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -294,7 +294,7 @@ const ENTITY_VAR_NAME: &str = "entity"; /// An error that can occur when internal [ScriptingPlugin] systems are being executed #[derive(Error, Debug)] pub enum ScriptingError { - #[error("script runtime error: {0}")] + #[error("script runtime error:\n {0}")] RuntimeError(String), #[error("script compilation error: {0}")] CompileError(Box),