Closed
Bug 739222
Opened 13 years ago
Closed 13 years ago
Noise in the terminal at startup if no default account
Categories
(Thunderbird :: Mail Window Front End, defect)
Thunderbird
Mail Window Front End
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 14.0
People
(Reporter: florian, Assigned: florian)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
patch
|
Bienvenu
:
review+
|
Details | Diff | Splinter Review |
accountManager.defaultAccount throws if there's no default account. There was some effort in bug 342632 to change that, but it got stalled.
I think just getting rid of the noise in the terminal would already be an improvement. This is what the patch I'm attaching does (it doesn't hide the error when it's unexpected; it will go to the console instead of the terminal).
Attachment #609317 -
Flags: review?(mbanner)
Comment 1•13 years ago
|
||
Comment on attachment 609317 [details] [diff] [review]
Patch
Whilst I think this is fine, David knows a bit more about the accounts system than I do.
Attachment #609317 -
Flags: review?(mbanner) → review?(dbienvenu)
Can't we set some account to be the default automatically?
Or is this in the case there really doesn't exist any account?
Sorry again, seems that is what http://mxr.mozilla.org/comm-central/source/mailnews/base/src/nsMsgAccountManager.cpp#772 is doing :)
Depends on: null_default_server
Updated•13 years ago
|
Attachment #609317 -
Flags: review?(dbienvenu) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Assignee: nobody → florian
Severity: normal → trivial
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 14.0
You need to log in
before you can comment on or make changes to this bug.
Description
•