Add todo for error handling

pull/1/head
Grandschtroumpf 6 years ago committed by yann300
parent 8dd5315775
commit afa6fb3a49
  1. 1
      src/app/components/plugin-manager-component.js

@ -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}`)
} }
} }

Loading…
Cancel
Save