Skip to content

Commit 045aa10

Browse files
authored
Merge pull request #849 from murgatroid99/native_load_error_improvement
Add some helpful information to the fallback error when loading addon
2 parents 2a9c724 + 8f2fac7 commit 045aa10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/grpc-native-core/src/grpc_extension.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Original error: ${e.message}`;
5454
error.code = e.code;
5555
throw error;
5656
} else {
57+
e.message = `Failed to load ${binding_path}. ${e.message}`;
5758
throw e;
5859
}
5960
}

0 commit comments

Comments
 (0)