fix(engine): improve debug information when rendering error occurs
This commit is contained in:
parent
c85020fdfa
commit
14c70ff62d
|
@ -90,7 +90,7 @@ impl<'a> Middleware for RenderMiddleware<'a> {
|
||||||
return Event::caused_by(event.source_id, EventType::NOOP)
|
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()));
|
return Event::caused_by(event.source_id, EventType::ProcessingError("An error has occurred during rendering, please examine the logs or contact support.".to_string()));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user