aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-04-06 04:21:00 +0800
committerkumavis <aaron@kumavis.me>2018-04-06 04:21:00 +0800
commit7fdf663ea7ae4b3c6bb5cdefb1f33729f5cf4422 (patch)
treea791aea6e30ce703993988842126c900ba62f129 /app/scripts
parent2b880dd4e060f8f7f95afe9ff2a3e2e6d540c922 (diff)
downloadtangerine-wallet-browser-7fdf663ea7ae4b3c6bb5cdefb1f33729f5cf4422.tar
tangerine-wallet-browser-7fdf663ea7ae4b3c6bb5cdefb1f33729f5cf4422.tar.gz
tangerine-wallet-browser-7fdf663ea7ae4b3c6bb5cdefb1f33729f5cf4422.tar.bz2
tangerine-wallet-browser-7fdf663ea7ae4b3c6bb5cdefb1f33729f5cf4422.tar.lz
tangerine-wallet-browser-7fdf663ea7ae4b3c6bb5cdefb1f33729f5cf4422.tar.xz
tangerine-wallet-browser-7fdf663ea7ae4b3c6bb5cdefb1f33729f5cf4422.tar.zst
tangerine-wallet-browser-7fdf663ea7ae4b3c6bb5cdefb1f33729f5cf4422.zip
migrator - fix typo
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/lib/migrator/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/migrator/index.js b/app/scripts/lib/migrator/index.js
index 203b2ddc9..ea9af3c80 100644
--- a/app/scripts/lib/migrator/index.js
+++ b/app/scripts/lib/migrator/index.js
@@ -30,7 +30,7 @@ class Migrator extends EventEmitter {
versionedData = migratedData
} catch (err) {
// emit error instead of throw so as to not break the run (gracefully fail)
- const error = new Error(`MetaMask Migration Error #${version}:\n${err.stack}`)
+ const error = new Error(`MetaMask Migration Error #${migration.version}:\n${err.stack}`)
this.emit('error', error)
// stop migrating and use state as is
return versionedData