GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.06k stars 407 forks source link

[Bug]: changing ssh key results in JS error #1499

Open atomGit opened 2 months ago

atomGit commented 2 months ago

Operating system

linux

Publii version

0.45.2 16609

Post editor

None

Bug description

changing ssh key results in JS error on publish

Steps to reproduce

  1. configure publii to use an ssh key and publish content
  2. rename the ssh key without reconfiguring publii and publish content
  3. observe that the publish process halts with no error until 'cancel' is clicked upon which a non-descript JS error is displayed

i think publii should instead display a simple message that the ssh file doesn't exist