Commit afa6fb3a authored by Grandschtroumpf's avatar Grandschtroumpf Committed by yann300

Add todo for error handling

parent 8dd53157
...@@ -111,6 +111,7 @@ class PluginManagerComponent { ...@@ -111,6 +111,7 @@ class PluginManagerComponent {
const api = new Plugin(profile, { resolveLocaton }) const api = new Plugin(profile, { resolveLocaton })
this.appManager.init([{profile, api}]) this.appManager.init([{profile, api}])
} catch (err) { } catch (err) {
// TODO : Use an alert to handle this error instead of a console.log
console.log(`Cannot create Plugin : ${err.message}`) console.log(`Cannot create Plugin : ${err.message}`)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment