jfrog-docker-desktop-extension icon indicating copy to clipboard operation
jfrog-docker-desktop-extension copied to clipboard

Unclear errors

Open asafgabai opened this issue 2 years ago • 0 comments

In some places in the extension, unclear errors are thrown from other libraries, and they are passed to the user:

  1. When filling a password with non-Latin characters (i.e. Hebrew letters) the error below is thrown:
error while login:InvalidCharacterError: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.

Containing non-Latin characters should not be allowed, but the error is not clear and is a little intimidating.

  1. When there's no internet connection and trying to log in.

These errors are unclear and also a little intimidating. They'd better be replaced.

asafgabai avatar Jun 16 '22 11:06 asafgabai