mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
improved port-forward error reporting (#4155)
Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
1 parent
774a4d8b82
commit
65b6908bf1
4 files changed
+7
-3
No files matched your search
@@ -94,6 +94,10 @@ class PortForward {
|
||||
}
|
||||
});
|
||||
|
||||
this.process.stderr.on("data", (data) => {
|
||||
logger.warn(`[PORT-FORWARD-ROUTE]: kubectl port-forward process stderr: ${data}`);
|
||||
});
|
||||
|
||||
const internalPort = await getPortFrom(this.process.stdout, {
|
||||
lineRegex: internalPortRegex,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user