Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lichenggang
/
tas_token_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
58ef3131
authored
Dec 28, 2023
by
陈森彬
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
e6f6e20a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
lib/apidigikey.py
lib/apidigikey.py
View file @
58ef3131
...
@@ -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
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment