fix(engine): improve debug information when rendering error occurs

This commit is contained in:
Federico Terzi 2021-09-30 22:20:20 +02:00
parent c85020fdfa
commit 14c70ff62d

View File

@ -90,7 +90,7 @@ impl<'a> Middleware for RenderMiddleware<'a> {
return Event::caused_by(event.source_id, EventType::NOOP)
}
_ => {
error!("error during rendering: {}", err);
error!("error during rendering: {:?}", err);
return Event::caused_by(event.source_id, EventType::ProcessingError("An error has occurred during rendering, please examine the logs or contact support.".to_string()));
}
},