Skip to content

Commit 3c7a2ab

Browse files
committed
use regular stop catching errors during search
1 parent fca4a59 commit 3c7a2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export class Search extends Instagram<TSearchResult> {
127127
await this.stop();
128128
return this.searchResult;
129129
} catch (e) {
130-
await this.forceStop();
130+
await this.stop();
131131
throw e;
132132
}
133133
}

0 commit comments

Comments
 (0)