Skip to content

Commit

Permalink
Merge pull request #99 from crjc/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys authored Jan 14, 2023
2 parents 2032691 + 8394434 commit e81f390
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions OfficeIMO.Word/WordSection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ internal WordSection(WordDocument wordDocument, SectionProperties sectionPropert
} else if (element is SectionType) {
} else if (element is TitlePage) {
} else {
throw new NotImplementedException("This isn't implemented yet?");
Debug.WriteLine($"The section '{element.GetType().Name}' is currently not supported. "
+ "To request support, open an issue at https://github.com/EvotecIT/OfficeIMO/issues");
}
}

Expand Down Expand Up @@ -381,4 +382,4 @@ internal static HeaderFooterValues GetType(string type) {
}
}
}
}
}

0 comments on commit e81f390

Please sign in to comment.