hoelzro / sahara-sync

A free software (AGPL) alternative to Dropbox
7 stars 0 forks source link

Gracefully handle 4XX errors #32

Closed hoelzro closed 12 years ago

hoelzro commented 12 years ago

The client currently just logs 4XX errors; we should probably be better about this.

hoelzro commented 12 years ago

When I wrote this issue, I really meant "5xx errors". 4xx indicate an error on the client's part, so there's not much we can do other than fix the client. 5xx, on the other hand, indicates a problem with the server: unavailable, connection refused, etc. For now, we will interpret these as "try again later", and enqueue the actions until they succeed.