handle failure to connect to zmc in zms gracefully
This commit is contained in:
parent
ea669b4750
commit
df14b3c812
|
@ -44,7 +44,11 @@ bool StreamBase::loadMonitor( int monitor_id ) {
|
|||
Fatal( "Unable to load monitor id %d for streaming", monitor_id );
|
||||
return( false );
|
||||
}
|
||||
monitor->connect();
|
||||
if ( ! monitor->connect() ) {
|
||||
Fatal( "Unable to connect to monitor id %d for streaming", monitor_id );
|
||||
return( false );
|
||||
}
|
||||
|
||||
return( true );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue