Don't clear error after g_propagate_error, because it's already invalid. MR !358 (cherry picked from commit e8da3e3d)