sip 监听失败时主动结束程序
This commit is contained in:
parent
d9ab07f1ef
commit
d3bf7b4056
@ -156,7 +156,7 @@ public class SipServiceImpl implements SipService {
|
||||
}
|
||||
} catch (Exception e){
|
||||
log.error("[sip] {}:{} 监听失败, 请检查端口是否被占用, 错误信息 => {}",ip,port, e.getMessage());
|
||||
Runtime.getRuntime().exit(-1);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user