Skip to content

Commit d7e9f74

Browse files
durrannbbeeken
andauthored
Update src/index.ts
Co-authored-by: Neal Beeken <[email protected]>
1 parent 3d173cc commit d7e9f74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ function load() {
77
} catch {
88
try {
99
return require('../build/Debug/mongocrypt.node');
10-
} catch {
11-
throw new Error('Could not load the native module mongocrypt.node');
10+
} catch (error) {
11+
throw error;
1212
}
1313
}
1414
}

0 commit comments

Comments
 (0)