updated rejection logging to only include Error types