Skip to content

Commit

Permalink
Merge pull request #849 from murgatroid99/native_load_error_improvement
Browse files Browse the repository at this point in the history
Add some helpful information to the fallback error when loading addon
  • Loading branch information
murgatroid99 authored May 2, 2019
2 parents 2a9c724 + 8f2fac7 commit 045aa10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/grpc-native-core/src/grpc_extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Original error: ${e.message}`;
error.code = e.code;
throw error;
} else {
e.message = `Failed to load ${binding_path}. ${e.message}`;
throw e;
}
}
Expand Down

0 comments on commit 045aa10

Please sign in to comment.