Check project state (should be ENABLED) before any project specific communication #76

Open
koles opened this Issue Oct 5, 2010 · 1 comment

Comments

Projects
None yet
2 participants
Member

koles commented Oct 5, 2010

Check project state (should be ENABLED) before any project specific communication to better communicate the situation to the user as well as to prevent polluting GoodData log files with false alarms.

Contributor

lkundrak commented Aug 14, 2011

I strongly advocate against this.

We use HTTP protocol specifically to avoid complexity of having to specially check the status of a resource. It is already capable of signalling that the project has been deleted (410) and the error message when accessing such project is already very meaningful.

If this pollutes logs with errors, the server should be fixed, since accessing no longer available resource is not an error at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment