Remove throw GetLastError