diff --git a/indra/newview/llfloaterassetrecovery.cpp b/indra/newview/llfloaterassetrecovery.cpp index ccefbc6ea474c219f7081e96500530b2975f2893..a2b396f17fe7c175f90a925d962a50bacf040117 100644 --- a/indra/newview/llfloaterassetrecovery.cpp +++ b/indra/newview/llfloaterassetrecovery.cpp @@ -346,6 +346,9 @@ void LLAssetRecoverQueue::onCreateItem(const LLUUID& idItem) strCapsUrl = gAgent.getRegion()->getCapability("UpdateNotecardAgentInventory"); uploadInfo = LLResourceUploadInfo::ptr_t(new LLBufferedAssetUploadInfo(itItem->idItem, LLAssetType::AT_NOTECARD, strBuffer, boost::bind(&LLAssetRecoverQueue::onSavedAsset, this, _1, _4))); break; + default: + LL_WARNS() << "Unsupported iventory type '" << pItem->getType() << "' for asset recovery" << LL_ENDL; + return; } if ( (!strCapsUrl.empty()) && (uploadInfo) )