mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 490150: report what the exception was when command updating failed. r=gavin
This commit is contained in:
parent
f9eb2f54d9
commit
625f2cd489
@ -74,7 +74,8 @@ function goUpdateCommand(aCommand)
|
||||
goSetCommandEnabled(aCommand, enabled);
|
||||
}
|
||||
catch (e) {
|
||||
dump("An error occurred updating the " + aCommand + " command\n");
|
||||
Components.utils.reportError("An error occurred updating the " +
|
||||
aCommand + " command: " + e);
|
||||
}
|
||||
}
|
||||
|
||||
@ -87,7 +88,8 @@ function goDoCommand(aCommand)
|
||||
controller.doCommand(aCommand);
|
||||
}
|
||||
catch (e) {
|
||||
dump("An error occurred executing the " + aCommand + " command\n" + e + "\n");
|
||||
Components.utils.reportError("An error occurred executing the " +
|
||||
aCommand + " command: " + e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user