Error logging for fatal exceptions
This commit is contained in:
parent
f3ed131f3e
commit
26ce36fb8a
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ module.exports = async ({
|
|||
includeDirs: ["node_modules/google-proto-files", "proto"]
|
||||
}
|
||||
|
||||
logger.info("Proto file location:", lnrpcProtoPath, routerProtoPath);
|
||||
|
||||
const [lnrpcProto, routerProto, walletUnlockerProto] = await Promise.all([protoLoader.load(lnrpcProtoPath, protoLoaderConfig), protoLoader.load(routerProtoPath, protoLoaderConfig), protoLoader.load(walletUnlockerProtoPath, protoLoaderConfig)]);
|
||||
const { lnrpc } = grpc.loadPackageDefinition(lnrpcProto);
|
||||
const { routerrpc } = grpc.loadPackageDefinition(routerProto);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue