raise RuntimeError when update issue is failed to retry
diff --git a/migration/src/update_issues.py b/migration/src/update_issues.py
index fc1b298..7a27669 100644
--- a/migration/src/update_issues.py
+++ b/migration/src/update_issues.py
@@ -33,6 +33,8 @@
         body = o["body"]
         if update_issue_body(token, repo, issue_number, body, logger):
             logger.debug(f"Issue {issue_number} was successfully updated.")
+        else:
+            raise RuntimeError("Failed to update issue")
 
 
 def update_comment_by_id(comment_id: int, data_dir: Path, token: str, repo: str):
@@ -48,6 +50,8 @@
         body = o["body"]
         if update_comment_body(token, repo, comment_id, body, logger):
             logger.debug(f"Comment {comment_id} was successfully updated.")
+        else:
+            raise RuntimeError("Failed to update comment")
 
 
 if __name__ == "__main__":