mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Add some helpful information to the fallback error when loading addon
This commit is contained in:
parent
4e7c9878c7
commit
8f2fac7f70
@ -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…
x
Reference in New Issue
Block a user