想捕获如果升级服务器连接不上,不让弹出错误对话框,而在logs中记录一下。
try Syscmd.Project.Update(False,False) catch ex As exception Output.Logs("Log").Add( now & "升级服务器不可以用") End try