Check if Println returned an error