You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to "grep" a log for an event and grab its timestamp. The code below only seems to work when a match its found, so I get Resolved ssh command execution, success, and the promise is resolved (timestamp) and returned back for further processing.
I'm stuck in that if there are no matches from the grep (because the event hasn't happened yet - I'm calling it periodically from a polling function), there is no "resolution". The only output that I see is success. How can I handle that lack of output?
So, technically, the command executed without errors but there is no stdout for it?
Hi, I'm trying to "grep" a log for an event and grab its timestamp. The code below only seems to work when a match its found, so I get
Resolved ssh command execution
,success
, and the promise is resolved (timestamp) and returned back for further processing.I'm stuck in that if there are no matches from the grep (because the event hasn't happened yet - I'm calling it periodically from a polling function), there is no "resolution". The only output that I see is
success
. How can I handle that lack of output?So, technically, the command executed without errors but there is no stdout for it?
The text was updated successfully, but these errors were encountered: