Fixed error handling event code

Wasn't populating the LastError of the ErrorRequestEventArgs