Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:7158
gnome-shell.openSUSE_Leap_42.2_Update
gnome-shell-1036494-Consistently-handle-initExt...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-shell-1036494-Consistently-handle-initExtension-errors.patch of Package gnome-shell.openSUSE_Leap_42.2_Update
Index: gnome-shell-3.20.4/js/ui/extensionSystem.js =================================================================== --- gnome-shell-3.20.4.orig/js/ui/extensionSystem.js +++ gnome-shell-3.20.4/js/ui/extensionSystem.js @@ -217,8 +217,10 @@ function initExtension(uuid) { throw new Error("Extension was not properly created. Call loadExtension first"); let extensionJs = dir.get_child('extension.js'); - if (!extensionJs.query_exists(null)) - throw new Error('Missing extension.js'); + if (!extensionJs.query_exists(null)) { + logExtensionError(uuid, new Error('Missing extension.js')); + return false; + } let extensionModule; let extensionState = null;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor