message: feat: delete cursor when an error has occured
diff: @@ -128,12 +128,17 @@ export class RecordClient {
  const { id, totalCount } = await this.createCursor(params);
  let allRecords: T[] = [];
  let next = true;
  + try {
  while (next) {
  const result = await this.getRecordsByCursor<T>({ id });
  allRecords = allRecords.concat(result.records);
  next = result.next;
  }
  return { records: allRecords, totalCount };
  + } catch (error) {
  + this.deleteCursor({ id });
  + throw error;
  + }
  }
  public addComment(params: {
  