mm-math 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.html +2 -2
  2. package/package.json +1 -1
package/index.html CHANGED
@@ -567,8 +567,8 @@ async function doLogin() {
567
567
  } else {
568
568
  window.location.href = './browse.html';
569
569
  }
570
- } catch {
571
- errEl.textContent = 'Network error. Try again.';
570
+ } catch (err) {
571
+ errEl.textContent = 'Error: ' + (err && err.message ? err.message : err);
572
572
  btn.disabled = false;
573
573
  btn.textContent = 'Sign In';
574
574
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm-math",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "STEM educational toolkit",
5
5
  "main": "index.html",
6
6
  "files": [