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;
|
error.code = e.code;
|
||||||
throw error;
|
throw error;
|
||||||
} else {
|
} else {
|
||||||
|
e.message = `Failed to load ${binding_path}. ${e.message}`;
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue