mirror of https://github.com/grpc/grpc-node.git
Merge pull request #849 from murgatroid99/native_load_error_improvement
Add some helpful information to the fallback error when loading addon
This commit is contained in:
commit
045aa10093
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue