Merge pull request #642 from patriceac/patch-5

Fixing a typo
This commit is contained in:
cmdr2 2022-12-11 11:16:24 +05:30 committed by GitHub
commit 069315e434
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,7 +248,7 @@
setServerStatus('busy', 'rendering..') setServerStatus('busy', 'rendering..')
break break
default: // Unavailable default: // Unavailable
console.error('Ping received an unexpedted server status. Status: %s', serverState.status) console.error('Ping received an unexpected server status. Status: %s', serverState.status)
setServerStatus('error', serverState.status.toLowerCase()) setServerStatus('error', serverState.status.toLowerCase())
break break
} }
@ -277,7 +277,7 @@
case ServerStates.online: case ServerStates.online:
return true return true
default: default:
console.warn('Unexpedted server status. Server could be unavailable... Status: %s', serverState.status) console.warn('Unexpected server status. Server could be unavailable... Status: %s', serverState.status)
return false return false
} }
} }