Change stack trace object property name.

This commit is contained in:
Stephen Chung 2022-01-26 22:16:11 +08:00
parent edcc95e205
commit d75c3e1592

View File

@ -43,12 +43,12 @@ mod debugging_functions {
source: _source, source: _source,
pos: _pos, pos: _pos,
}| { }| {
let call = frame.to_string(); let display = frame.to_string();
#[cfg(not(feature = "no_object"))] #[cfg(not(feature = "no_object"))]
{ {
let mut map = Map::new(); let mut map = Map::new();
map.insert("call".into(), call.into()); map.insert("display".into(), display.into());
map.insert("fn_name".into(), _fn_name.into()); map.insert("fn_name".into(), _fn_name.into());
if !_args.is_empty() { if !_args.is_empty() {
map.insert( map.insert(