mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Stop spamming Nebadon's console when assets aren't found in the asset server.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user