Don't show error modal when options.debug = false

I think this is the appropriate code change. Please advise if not.