Commit 58ef3131 by 陈森彬

update

parent e6f6e20a
Showing with 2 additions and 2 deletions
...@@ -67,8 +67,8 @@ class DGTokenCrawler(token_lib.BaseTokenCrawler): ...@@ -67,8 +67,8 @@ class DGTokenCrawler(token_lib.BaseTokenCrawler):
self.logger.error(mgs) self.logger.error(mgs)
raise Exception(mgs) raise Exception(mgs)
access_token, refresh_token = token_json['access_token'], token_json['refresh_token'] access_token, refresh_token = token_json['access_token'], token_json['refresh_token']
apidigikey_log.info(access_token) apidigikey_log.info("access_token:" + access_token)
apidigikey_log.info(refresh_token) apidigikey_log.info("refresh_token" + refresh_token)
return access_token, refresh_token return access_token, refresh_token
except Exception: except Exception:
dd_send_msg('digikey token同步失败:' + traceback.format_exc()) dd_send_msg('digikey token同步失败:' + traceback.format_exc())
......
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 sign in to comment