static analysis reporting.
first catch was undefined var