It's a lot harder to get to the console on mobile than it is to read an alert. Include the error in the alert as well.