summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wu2018-03-11 02:55:54 +0800
committerMax Wu2018-03-11 02:55:54 +0800
commitdfd833dbe2c21ea6ccdc185b717c59894950816d (patch)
tree35d20828219346ca9977c43536ea46f3b13b0fa8
parent5e975cbe690048e144fb6bd99c5b239a3e764445 (diff)
Update to show log on migrate LZString type note url in history
Signed-off-by: Max Wu <jackymaxj@gmail.com>
-rw-r--r--public/js/history.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/history.js b/public/js/history.js
index e7d289fb..a6575360 100644
--- a/public/js/history.js
+++ b/public/js/history.js
@@ -304,7 +304,7 @@ function parseToHistory (list, notehistory, callback) {
notehistory[i].id = encodeNoteId(id)
}
} catch (err) {
- // na
+ logger.error(err)
}
// parse time to timestamp and fromNow
const timestamp = (typeof notehistory[i].time === 'number' ? moment(notehistory[i].time) : moment(notehistory[i].time, 'MMMM Do YYYY, h:mm:ss a'))