From 2ad62b12f0c160ce6c643b7bc3fa799feaf2a754 Mon Sep 17 00:00:00 2001 From: ByteDice Date: Mon, 24 Feb 2025 19:55:21 +0100 Subject: [PATCH] debug info --- src/python.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python.rs b/src/python.rs index 87977d2..40a4bf5 100644 --- a/src/python.rs +++ b/src/python.rs @@ -36,6 +36,6 @@ pub fn start(args: String) -> PyResult<()> { fn get_code(path: &str) -> String { return fs::read_to_string(path) - .expect("Failed to read Python file.") + .expect(&format!("Failed to read Python file.\nPath: {}", path)) .to_string(); -} \ No newline at end of file +}