mirror of https://github.com/grpc/grpc-node.git
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…
Reference in New Issue