Stop spamming Nebadon's console when assets aren't found in the asset server.
parent
59d8588ae1
commit
a3aa839d75
|
@ -979,8 +979,11 @@ namespace OpenSim.Framework
|
|||
|
||||
try
|
||||
{
|
||||
using (WebResponse resp = request.GetResponse())
|
||||
using (HttpWebResponse resp = (HttpWebResponse)request.GetResponse())
|
||||
{
|
||||
if (resp.StatusCode == HttpStatusCode.NotFound)
|
||||
return deserial;
|
||||
|
||||
if (resp.ContentLength != 0)
|
||||
{
|
||||
Stream respStream = resp.GetResponseStream();
|
||||
|
|
Loading…
Reference in New Issue