From 0c3b93fc3ade319c0739b6542d7b65ee07edae39 Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Fri, 13 Mar 2020 13:46:09 -0700 Subject: [PATCH] proto-loader: Warn if file not found in imports --- packages/proto-loader/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/proto-loader/src/index.ts b/packages/proto-loader/src/index.ts index c5533a5e..b29e26f3 100644 --- a/packages/proto-loader/src/index.ts +++ b/packages/proto-loader/src/index.ts @@ -302,6 +302,7 @@ function addIncludePathResolver(root: Protobuf.Root, includePaths: string[]) { continue; } } + process.emitWarning(`${target} not found in any of the include paths ${includePaths}`); return originalResolvePath(origin, target); }; }