Fixed crash reports using invalid lastError data