Last Comment Bug 739222 - Noise in the terminal at startup if no default account
: Noise in the terminal at startup if no default account
Product: Thunderbird
Classification: Client Software
Component: Mail Window Front End (show other bugs)
: Trunk
: All All
-- trivial (vote)
: Thunderbird 14.0
Assigned To: Florian Quèze [:florian] [:flo]
Depends on: null_default_server
Blocks: tb-noise
  Show dependency treegraph
Reported: 2012-03-26 07:38 PDT by Florian Quèze [:florian] [:flo]
Modified: 2012-04-13 03:22 PDT (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---

Patch (1.73 KB, patch)
2012-03-26 07:38 PDT, Florian Quèze [:florian] [:flo]
mozilla: review+
Details | Diff | Splinter Review

Description User image Florian Quèze [:florian] [:flo] 2012-03-26 07:38:17 PDT
Created attachment 609317 [details] [diff] [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).
Comment 1 User image Mark Banner (:standard8) 2012-03-27 02:33:18 PDT
Comment on attachment 609317 [details] [diff] [review]

Whilst I think this is fine, David knows a bit more about the accounts system than I do.
Comment 2 User image :aceman 2012-03-27 05:07:42 PDT
Can't we set some account to be the default automatically?
Or is this in the case there really doesn't exist any account?
Comment 3 User image :aceman 2012-03-27 05:08:55 PDT
Sorry again, seems that is what is doing :)
Comment 4 User image Florian Quèze [:florian] [:flo] 2012-04-13 03:22:47 PDT

Note You need to log in before you can comment on or make changes to this bug.