Skip to content

Commit

Permalink
fix: fix wrong error handling
Browse files Browse the repository at this point in the history
Signed-off-by: Jongmin Kim <whdalsrnt@megazone.com>
  • Loading branch information
whdalsrnt committed May 20, 2024
1 parent 6d365ee commit b67f2cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/spaceone/core/scheduler/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ def execute(self):
f"[SingleTask.execute] Fail to execute method ({self.method}): {e}",
exc_info=True,
)
raise ERROR_TASK_METHOD(
name=self.name, method=self.method, params=self.params
)
raise ERROR_TASK_METHOD(name=self.name, method=self.method)


class SpaceoneTask:
Expand Down

0 comments on commit b67f2cf

Please sign in to comment.