Commit c2682e8f authored by 智勇's avatar 智勇

update

parent a790172c
...@@ -323,10 +323,11 @@ exports.get_name_space = async function () { ...@@ -323,10 +323,11 @@ exports.get_name_space = async function () {
await formatListData(res, db); await formatListData(res, db);
this.body = res.details.instances; this.body = res.details.instances;
} catch (error) { } catch (error) {
console.log(error)
this.body = { this.body = {
code: "0001", code: "0001",
msg: "EOS获取数据问题", msg: "EOS获取数据问题",
detail: JSON.stringify(error) detail: error.toString()
} }
} }
......
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