(address: string)
| 439 | } |
| 440 | |
| 441 | public async checkCustomServer(address: string): Promise<{ status: 'online' | 'offline'; error?: string }> { |
| 442 | const result = await this.checkServer(address); |
| 443 | this.updateCustomServerStatus(address, result.status); |
| 444 | return result; |
| 445 | } |
| 446 | |
| 447 | public async checkServer(address: string): Promise<{ status: 'online' | 'offline'; error?: string }> { |
| 448 | try { |
no test coverage detected