Skip to content

Commit c4ba30a

Browse files
author
Artem
committed
handle proc error on autodiscovery
1 parent b5d20b4 commit c4ba30a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/api/src/utils/auto-discovery-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const getRunningProcesses = async (): Promise<string[]> => new Promise((r
3636
stdoutData += data.toString();
3737
});
3838

39-
proc.stdout.on('error', (e) => {
39+
proc.on('error', (e) => {
4040
reject(e);
4141
});
4242

0 commit comments

Comments
 (0)