From e69c111eccc822432f8eff9f8efa397ec7a88eb1 Mon Sep 17 00:00:00 2001 From: joseph-sentry Date: Fri, 20 Dec 2024 16:31:25 -0500 Subject: [PATCH] feat: small improvement to error message --- src/raw_upload.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/raw_upload.rs b/src/raw_upload.rs index 39ed8cd..098f67e 100644 --- a/src/raw_upload.rs +++ b/src/raw_upload.rs @@ -79,8 +79,8 @@ pub fn parse_raw_upload(raw_upload_bytes: &[u8]) -> PyResult<(Vec, Vec)> let pos = reader.buffer_position(); let (line, col) = get_position_info(&decompressed_file_bytes, pos.try_into().unwrap()); ParserError::new_err(format!( - "Error parsing JUnit XML at {}:{}: {}", - line, col, e + "Error parsing JUnit XML in {} at {}:{}: {}", + file.filename, line, col, e )) })?; results.push(reader_result);