diff --git a/index.js b/index.js index 3ce309f5c3a0e16554db6e26235c098b1985fa01..d3332e80804e3216bfd57305d4ea6b5f9c68009f 100644 --- a/index.js +++ b/index.js @@ -222,7 +222,7 @@ async function authenticate(login, password, baseUrl, apiAuthKey) { throw new Error() } } catch (error) { - throw new Error(errors.LOGIN_FAILED) + throw new Error(errors.UNKNOWN_ERROR) } }