[gnome-shell/wip/fmuellner/minor-bug-fixes: 5/9] objectManager: Fix undefined variable



commit cab119f133a18d9d53587e030e115b2e72280eac
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Jan 29 23:55:05 2019 +0100

    objectManager: Fix undefined variable
    
    Spotted by eslint.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/375

 js/misc/objectManager.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/misc/objectManager.js b/js/misc/objectManager.js
index 5a1ee3180..26186dd6b 100644
--- a/js/misc/objectManager.js
+++ b/js/misc/objectManager.js
@@ -160,7 +160,7 @@ var ObjectManager = class {
         try {
             initable.init_finish(result);
         } catch(e) {
-            logError(e, 'could not initialize object manager for object ' + params.name);
+            logError(e, 'could not initialize object manager for object ' + this._serviceName);
 
             this._tryToCompleteLoad();
             return;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]