reenable rest error handler missing in last commit