Return string for unresloved string was wrong

This commit is contained in:
斟酌 鵬兄 2016-07-03 21:29:43 +08:00
parent e4efdf79e5
commit 68663787bb

View File

@ -70,10 +70,10 @@ const rLocale = function( lang, stack )
} }
catch( e ) catch( e )
{ {
Dragonfly.Warning( e ); Dragonfly.Warning( e.message );
} }
return Zone + "." + stack[1]; return Zone + "." + stack[0];
}; };
String.prototype.L = function( ...args ) String.prototype.L = function( ...args )