Closed
Bug 219681
Opened 21 years ago
Closed 21 years ago
log save/launch errors to nspr log
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.6alpha
People
(Reporter: Biesinger, Assigned: Biesinger)
References
Details
Attachments
(1 file)
2.61 KB,
patch
|
bzbarsky
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
nsExternalAppHandler::SendStatusChange currently uses a printf in an #ifdef DEBUG_LAW to log its errors. It would be better if this would use NSPR Logging, so that not only DEBUG_law builds can see the details of this error
Assignee | ||
Comment 1•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #131733 -
Flags: review?(bz-vacation)
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.6alpha
Comment 2•21 years ago
|
||
Comment on attachment 131733 [details] [diff] [review] patch r=bzbarsky
Attachment #131733 -
Flags: review?(bz-vacation) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #131733 -
Flags: superreview?(darin)
Comment 3•21 years ago
|
||
Comment on attachment 131733 [details] [diff] [review] patch >Index: nsExternalHelperAppService.cpp >+ PR_LOG(nsExternalHelperAppService::mLog, PR_LOG_ERROR, >+ ("Error: %s, listener=0x%p, rv=0x%08X\n", NS_LossyConvertUCS2toASCII(msgId).get(), mWebProgressListener.get(), rv)); note: under glibc, %p already has the 0x prepended (at least that's what the man page says). sr=darin
Attachment #131733 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Comment 4•21 years ago
|
||
checked in as is (per irc discussion), because PR_LOG uses nspr printf, which does not prepend 0x. Checking in nsExternalHelperAppService.cpp; /cvsroot/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp,v <-- nsExternalHelperAppService.cpp new revision: 1.218; previous revision: 1.217 done Checking in nsExternalHelperAppService.h; /cvsroot/mozilla/uriloader/exthandler/nsExternalHelperAppService.h,v <-- nsExternalHelperAppService.h new revision: 1.48; previous revision: 1.47 done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•