add some extra error logging