Missing error handling in case there are an IllegalStatement or other exception thrown.

Should report what expression was being resolved and which error to let users/QE know what broke.