ProtonMail / go-proton-api

Proton API library used by Go-based clients and tools
MIT License
122 stars 16 forks source link

fix(GODT-2574): Use sequential operations for label/unlabel #75

Closed LBeernaertProton closed 1 year ago

LBeernaertProton commented 1 year ago

Do not call label/unlabel operations in parallel when we have more than 150 messages. This can cause the operation to fail in the backend.

This patch also improves the error message by returning the first error message for the failed operation.