ontodev / droid

DROID Reminds us that Ordinary Individuals can be Developers
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Better error handling on missing branch, at least for CGI #120

Closed jamesaoverton closed 2 years ago

jamesaoverton commented 2 years ago

I was trying to get this CGI script to load https://droid.ontodev.com/ODD/branches/fix-1/views/run.py/table but I accidentally wrote "demo" instead of "fix-1" for the branch name. The result was a blank page, and a Null Pointer exception at html.clj line 1864 in the logs. I wasted an hour trying to find the problem. A 404 error would have been very helpful.