Handle unknown objects sent as exception param on logger