diff options
| author | Ruslan Teliuk <ruslantproductengine@lindenlab.com> | 2018-07-02 15:10:54 +0300 |
|---|---|---|
| committer | Ruslan Teliuk <ruslantproductengine@lindenlab.com> | 2018-07-02 15:10:54 +0300 |
| commit | 27b5ee16f29e2fd3377b343362443075638e059a (patch) | |
| tree | 6f4d1d3dc6c8146f44dafcb03656c45adfc32adf /indra/newview/lllogininstance.cpp | |
| parent | 3991a0f765d3d493bcc08ac2aadc707934f4d640 (diff) | |
| parent | 3008962f0c990f4bfd270bee38152d2531ddfcd2 (diff) | |
Merged lindenlab/viewer-cougar into default
Diffstat (limited to 'indra/newview/lllogininstance.cpp')
| -rw-r--r-- | indra/newview/lllogininstance.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lllogininstance.cpp b/indra/newview/lllogininstance.cpp index bc93fa2c20..deef3dbce7 100644 --- a/indra/newview/lllogininstance.cpp +++ b/indra/newview/lllogininstance.cpp @@ -113,6 +113,11 @@ void LLLoginInstance::connect(LLPointer<LLCredential> credentials) { std::vector<std::string> uris; LLGridManager::getInstance()->getLoginURIs(uris); + if (uris.size() < 1) + { + LL_WARNS() << "Failed to get login URIs during connect. No connect for you!" << LL_ENDL; + return; + } connect(uris.front(), credentials); } |
