extensionSystem: Fix error reporting in lg / ListExtensionErrors()

Commit c99e8eb29 removed this line probably accidentally, as no
effort has been made to replace consumers in lookingGlass and
shellDBus.

https://bugzilla.gnome.org/show_bug.cgi?id=690173
This commit is contained in:
Florian Müllner 2012-12-13 19:32:40 +01:00
parent 04d68c6e36
commit 378df515d0

View File

@ -129,6 +129,7 @@ function logExtensionError(uuid, error) {
extension.state = ExtensionState.ERROR;
if (!extension.errors)
extension.errors = [];
extension.errors.push(message);
log('Extension "%s" had error: %s'.format(uuid, message));
_signals.emit('extension-state-changed', { uuid: uuid,