diff options
author | Diva Canto | 2009-10-03 20:18:21 -0700 |
---|---|---|
committer | Diva Canto | 2009-10-03 20:18:21 -0700 |
commit | 2d9c27a28f8c8f2cf3dff9a3bafc463be4090a9d (patch) | |
tree | 11be05f1625dc0b8676005b612cb84302faa129e /OpenSim | |
parent | Better error handling to diagnose login problems. (diff) | |
download | opensim-SC-2d9c27a28f8c8f2cf3dff9a3bafc463be4090a9d.zip opensim-SC-2d9c27a28f8c8f2cf3dff9a3bafc463be4090a9d.tar.gz opensim-SC-2d9c27a28f8c8f2cf3dff9a3bafc463be4090a9d.tar.bz2 opensim-SC-2d9c27a28f8c8f2cf3dff9a3bafc463be4090a9d.tar.xz |
Slightly better message with status code for WebException.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs b/OpenSim/Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs index a459f1b..aa70362 100644 --- a/OpenSim/Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs +++ b/OpenSim/Framework/Servers/HttpServer/AsynchronousRestObjectRequester.cs | |||
@@ -165,7 +165,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
165 | } | 165 | } |
166 | else | 166 | else |
167 | { | 167 | { |
168 | m_log.ErrorFormat("[ASYNC REQUEST]: Request {0} {1} failed with exception {2}", verb, requestUrl, e); | 168 | m_log.ErrorFormat("[ASYNC REQUEST]: Request {0} {1} failed with status {2} and message {3}", verb, requestUrl, e.Status, e.Message); |
169 | } | 169 | } |
170 | } | 170 | } |
171 | catch (Exception e) | 171 | catch (Exception e) |