From 9130f4f6ec751781d72063711d196403ab91bf70 Mon Sep 17 00:00:00 2001 From: "nisheeth%netscape.com" Date: Fri, 11 Jun 1999 23:13:03 +0000 Subject: [PATCH] Fix for bug 7401. Made error message more descriptive. --- uriloader/base/nsDocLoader.cpp | 2 +- webshell/src/nsDocLoader.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/uriloader/base/nsDocLoader.cpp b/uriloader/base/nsDocLoader.cpp index f75c60da4936..f79a16f7b94c 100644 --- a/uriloader/base/nsDocLoader.cpp +++ b/uriloader/base/nsDocLoader.cpp @@ -1529,7 +1529,7 @@ NS_METHOD nsDocumentBindInfo::OnStopBinding(nsIURL* aURL, nsresult aStatus, aURL->GetSpec(&url); else url = ""; - cerr << "Load of URL '" << url << "' failed. Error code: " + cerr << "nsDocumentBindInfo::OnStopBinding: Load of URL '" << url << "' failed. Error code: " << NS_ERROR_GET_CODE(aStatus) << "\n"; } diff --git a/webshell/src/nsDocLoader.cpp b/webshell/src/nsDocLoader.cpp index f75c60da4936..f79a16f7b94c 100644 --- a/webshell/src/nsDocLoader.cpp +++ b/webshell/src/nsDocLoader.cpp @@ -1529,7 +1529,7 @@ NS_METHOD nsDocumentBindInfo::OnStopBinding(nsIURL* aURL, nsresult aStatus, aURL->GetSpec(&url); else url = ""; - cerr << "Load of URL '" << url << "' failed. Error code: " + cerr << "nsDocumentBindInfo::OnStopBinding: Load of URL '" << url << "' failed. Error code: " << NS_ERROR_GET_CODE(aStatus) << "\n"; }