Skip to content

Commit f02ac70

Browse files
authored
Remove unused catch binding
1 parent 18154f5 commit f02ac70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker-script/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ res) => {
118118
throw Error('Not found in cache');
119119
}
120120
// Attempt to fetch new .traineddata file
121-
} catch (e) {
121+
} catch {
122122
newData = true;
123123
log(`[${workerId}]: Load ${lang}.traineddata from ${langPath}`);
124124
if (typeof _lang === 'string') {

0 commit comments

Comments
 (0)