1.show detail log when exception
2.fix bug for api of getting token info.