Improved error handling in booking controller