Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make error better

  • Loading branch information...
commit 3113c0912d2dc99f0f0fed0a7b7026c52fe8b74a 1 parent 055ca05
@ianb authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 index.html
View
5 index.html
@@ -7,6 +7,7 @@
.status {
border: 2px solid #000;
background-color: #999;
+ display: inline;
}
</style>
<script>
@@ -25,7 +26,7 @@
}
};
pending.onerror = function () {
- alert('Error in getSelf: ' + this.error);
+ alert('Error in getSelf: ' + (this.error.name || this.error));
};
}
@@ -40,7 +41,7 @@
if (this.error == 'DENIED' || this.error.name == 'DENIED') {
return;
}
- alert('Error in install: ' + this.error);
+ alert('Error in install: ' + (this.error.name || this.error));
};
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.