Skip to content

Commit 59adffd

Browse files
author
Jongmin Kim
authored
Merge pull request #145 from whdalsrnt/master
fix: fix wrong error handling
2 parents 6d365ee + b67f2cf commit 59adffd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/spaceone/core/scheduler/worker.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ def execute(self):
5454
f"[SingleTask.execute] Fail to execute method ({self.method}): {e}",
5555
exc_info=True,
5656
)
57-
raise ERROR_TASK_METHOD(
58-
name=self.name, method=self.method, params=self.params
59-
)
57+
raise ERROR_TASK_METHOD(name=self.name, method=self.method)
6058

6159

6260
class SpaceoneTask:

0 commit comments

Comments
 (0)