Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integrated-scheduling-v3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张晓彤
integrated-scheduling-v3
Commits
8c155ed9
Commit
8c155ed9
authored
Jul 11, 2022
by
张晓彤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加捕获最外层异常
parent
b7f001dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
realtime_dispatch.py
realtime_dispatch.py
+4
-4
No files found.
realtime_dispatch.py
View file @
8c155ed9
...
@@ -62,7 +62,7 @@ def process(dispatcher):
...
@@ -62,7 +62,7 @@ def process(dispatcher):
# # 直接读取数据库写入redis
# # 直接读取数据库写入redis
# direct2redis()
# direct2redis()
#
try:
try
:
# 更新周期参数
# 更新周期参数
logger
.
info
(
"#####################################周期更新开始#####################################"
)
logger
.
info
(
"#####################################周期更新开始#####################################"
)
...
@@ -154,9 +154,9 @@ def process(dispatcher):
...
@@ -154,9 +154,9 @@ def process(dispatcher):
logger
.
info
(
"#####################################周期更新结束#####################################"
)
logger
.
info
(
"#####################################周期更新结束#####################################"
)
#
except Exception as es:
except
Exception
as
es
:
#
logger.error("最外层异常捕获")
logger
.
error
(
"最外层异常捕获"
)
#
logger.error(es)
logger
.
error
(
es
)
def
perform
(
inc
,
dispatcher
):
def
perform
(
inc
,
dispatcher
):
...
...
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