lastpass / lastpass-cli

LastPass command line interface tool
GNU General Public License v2.0
2.85k stars 289 forks source link

Feature request: Return the error code when there's an HTTP error #673

Open XSchelin opened 7 months ago

XSchelin commented 7 months ago

I'm running a backup script I wrote to get attachments out of LastPass, and I started getting:

Error: HTTP response code said error.

I enabled logging per #228 and saw that I was getting rate limited (429 error code).

Feature request: When there's an HTTP response code saying error, return what the error is, so that we're not hunting the internet for what the problem actually is.