Catch exceptions and return as 500 errors
approot
int patterns (#name)
