Remove unnecessary error catching

This commit is contained in:
Romain Vigier
2019-11-21 21:21:22 +01:00
parent 9659b217c0
commit c243fc3e41
+1 -7
View File
@@ -96,13 +96,7 @@ class Extension {
class Themer {
constructor() {
try {
this.gsettings = new Gio.Settings({ schema: GSETTINGS_SCHEMA });
}
catch(e)
{
logError('"User Themes" GNOME Shell extension must be installed')
}
this.gsettings = new Gio.Settings({ schema: GSETTINGS_SCHEMA });
}
get current() {