mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
don't pass the exception back in the alert dialog.
that's not useful to the user.
This commit is contained in:
parent
2b3a0c6903
commit
dfd8ee084f
@ -1550,7 +1550,7 @@ function ComposeLoad()
|
||||
catch (ex) {
|
||||
var errorTitle = sComposeMsgsBundle.getString("initErrorDlogTitle");
|
||||
var errorMsg = sComposeMsgsBundle.getFormattedString("initErrorDlogMessage",
|
||||
[ex]);
|
||||
[""]);
|
||||
if (gPromptService)
|
||||
gPromptService.alert(window, errorTitle, errorMsg);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user