Log error details also when creating a milestone