Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ea52342a
authored
2023-01-07 18:19:42 +0800
by
王聪
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加日志
1 parent
76ac8734
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
ea52342
...
...
@@ -3284,8 +3284,9 @@ def fsm_compare(application_id, application_entity, uniq_seq, ocr_res_id, is_ca=
'isCms'
:
is_cms
}
try
:
compare_log
.
info
(
"request java fsm api, url:{0}, body:{1}"
.
format
(
url
,
json
.
dumps
(
body
)))
resp
=
requests
.
post
(
url
,
data
=
body
)
compare_log
.
info
(
resp
.
text
)
compare_log
.
info
(
"response from fsm api, resp:{0}"
.
format
(
resp
.
text
)
)
except
Exception
as
e
:
compare_log
.
error
(
"fsm full request to java error, url:{0}, param:{1}, errorMsg:{2}"
.
format
(
url
,
json
.
dumps
(
body
),
traceback
.
format_exc
()))
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment