add password.py ad error report function