diff --git a/data/plugins/workspace.lua b/data/plugins/workspace.lua index fe8a0096..84be8778 100644 --- a/data/plugins/workspace.lua +++ b/data/plugins/workspace.lua @@ -90,7 +90,7 @@ local function load_view(t) t.type = nil return class.from_content and class.from_content(t) end - return require(t.module)() -- FIXME: is this needed? If a class is not registered, it should not be loaded + core.error("Could not restore view %q", t.type) end