From 1568d31b0c8774ecc0ac92a73f6962e866e62579 Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Thu, 12 Nov 2020 23:06:56 +1100 Subject: [PATCH] clearer notion is running error message --- CHANGELOG.md | 1 + pkg/apply.js | 2 +- pkg/remove.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70363c3..d557a5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - improved: use an svg for the scroll-to-top button. - improved: use a better-matching icon and add transitions to the property layout toggle. - improved: themes are directly applied to tabs and menu rather than sync-ed between (infinite loading). +- improved: error message "is notion running?" --> clearer "make sure notion isn't running!" - bugfix: disable fadein of selected block halo with snappy transitions. - bugfix: increase contrast of `--theme_dark--interactive_hover` in dark+ and dracula. - bugfix: tabs are focused properly for input. diff --git a/pkg/apply.js b/pkg/apply.js index 3b03554..16f118b 100644 --- a/pkg/apply.js +++ b/pkg/apply.js @@ -179,7 +179,7 @@ module.exports = async function ({ overwrite_version, friendly_errors } = {}) { }` ); } else if (['EIO', 'EBUSY'].includes(err.code) && friendly_errors) { - console.error('file access failed: is notion running?'); + console.error("file access failed: make sure notion isn't running!"); } else console.error(err); return false; } diff --git a/pkg/remove.js b/pkg/remove.js index cfaff62..51b5887 100644 --- a/pkg/remove.js +++ b/pkg/remove.js @@ -110,7 +110,7 @@ module.exports = async function ({ delete_data, friendly_errors } = {}) { }` ); } else if (['EIO', 'EBUSY'].includes(err.code) && friendly_errors) { - console.error('file access failed: is notion running?'); + console.error("file access failed: make sure notion isn't running!"); } else console.error(err); return false; }