Add exception handling (try/catch blocks) to all endpoint handlers
This will log the exception and prevent apiserver from crashing
NOTE: This looks like a big change, but it's just wrapping each handler body in a try/catch and logging the exception