diff --git a/src/browser/index.jsx b/src/browser/index.jsx index 9c10648f..00c7bb83 100644 --- a/src/browser/index.jsx +++ b/src/browser/index.jsx @@ -221,6 +221,11 @@ var MattermostView = React.createClass({ webview.addEventListener('did-fail-load', function(e) { console.log(thisObj.props.name, 'webview did-fail-load', e); + // should use permanent way to indicate + var did_fail_load_notification = new Notification(`Failed to load "${thisObj.props.name}"`, { + body: `ErrorCode: ${e.errorCode}`, + icon: '../resources/appicon.png' + }); thisObj.setState({ did_fail_load: e });