Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE
gnome-shell.9519
gnome-shell-1036494-Catch-import-errors.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-shell-1036494-Catch-import-errors.patch of Package gnome-shell.9519
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 @@ -224,7 +224,12 @@ function initExtension(uuid) { let extensionState = null; ExtensionUtils.installImporter(extension); - extensionModule = extension.imports.extension; + try { + extensionModule = extension.imports.extension; + } catch(e) { + logExtensionError(uuid, e); + return false; + } if (extensionModule.init) { try {
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