Add todo for error handling

pull/3094/head
Grandschtroumpf 6 years ago committed by yann300
parent a96cff028f
commit 5fe57cba2c
  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