Commit 9f6f6b35 authored by techird's avatar techird

收集未知错误

parent 72551345
......@@ -141,7 +141,7 @@ KityMinder.registerUI('widget/notice', function (minder) {
}
function descriptReason(e) {
e = e || {};
e = e || new Error();
if (typeof(e) == 'string') {
e = new Error(e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment