2 Commits

Author SHA1 Message Date
bdb0671171 0.6.1 2017-12-31 18:40:35 +00:00
14c39d292f Prevent error alert for discovery errors
They're handled by the widget
2017-12-31 18:40:08 +00:00
3 changed files with 4 additions and 2 deletions

View File

@@ -11,6 +11,8 @@ export default Route.extend(BodyClassMixin, {
console.debug('rs.on error', error); console.debug('rs.on error', error);
if (error.name === 'Unauthorized') { if (error.name === 'Unauthorized') {
this.handleUnauthorized(); this.handleUnauthorized();
} else if (error.name === 'DiscoveryError') {
// Do nothing, because the widget will handle it
} else { } else {
alert('An unknown error occured. Please check the browser console for details.'); alert('An unknown error occured. Please check the browser console for details.');
} }

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{ {
"name": "inspektor", "name": "inspektor",
"version": "0.6.0", "version": "0.6.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@@ -1,6 +1,6 @@
{ {
"name": "inspektor", "name": "inspektor",
"version": "0.6.0", "version": "0.6.1",
"private": true, "private": true,
"description": "Inspect the contents of your remote storage", "description": "Inspect the contents of your remote storage",
"license": "MIT", "license": "MIT",