diff options
author | Cheng-Han, Wu | 2016-03-04 23:19:49 +0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-03-04 23:19:49 +0800 |
commit | ee5eddaff435ebc65b61967d9d1a5142f6109690 (patch) | |
tree | 9a726df685a5978f934e9c228af2cf32d91d7f82 /public | |
parent | 049eae502456cac83b5266df6defaba4d130d820 (diff) |
Changed all parsing exception console message type to warning
Diffstat (limited to 'public')
-rw-r--r-- | public/js/extra.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/public/js/extra.js b/public/js/extra.js index e0f78b22..1752eb5b 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -203,7 +203,7 @@ function finishView(view) { try { emojify.run(view[0]); } catch (err) { - console.error(err); + console.warn(err); } //mathjax var mathjaxdivs = view.find('.mathjax.raw').removeClass("raw").toArray(); @@ -226,7 +226,7 @@ function finishView(view) { }); sequence.parent().parent().replaceWith(sequence); } catch (err) { - console.error(err); + console.warn(err); } }); //flowchart @@ -243,7 +243,7 @@ function finishView(view) { }); $(value).parent().parent().replaceWith(value); } catch (err) { - console.error(err); + console.warn(err); } }); //graphviz @@ -254,7 +254,7 @@ function finishView(view) { $(value).html(graphviz); $(value).parent().parent().replaceWith(value); } catch (err) { - console.error(err); + console.warn(err); } }); //image href new window(emoji not included) @@ -837,7 +837,7 @@ function meta(state, start, end, silent) { try { md.meta = jsyaml.safeLoad(data.join('\n')) || {}; } catch(err) { - console.error(err); + console.warn(err); return false; } |