public boolean call(String message){
try{
def result = JSON.parse(message)
def data = result.body
if(data.id){
....
}
return true
}catch(Exception e){
Log.getInstance().error((String)Message.get("G-002"),e)
}
return false
}
我想发生异常时、在catch的异常信息里输出data.id的值,得怎么改才行?