Skip to content

Commit 8334771

Browse files
author
arthosofteq
authored
Merge pull request #376 from RedisInsight/bugfix/RI-2533-robust_error_handling_fo_auto_discovery
handle proc error on autodiscovery
2 parents b9ba29e + c4ba30a commit 8334771

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)