stevencohn / OneMore

A OneNote add-in with simple, yet powerful and useful features
Mozilla Public License 2.0
2.65k stars 223 forks source link

Exception report on export page(s) (e.g. too long filename) add page name to log - maybe have a truncation rule as well. #1615

Closed jasonjac2 closed 3 weeks ago

jasonjac2 commented 1 month ago

Problem to Solve

Experimenting with exporting section to markdown (in preparation for a request to be able to export notebooks to MD on request / continuously). Selected a section with 210 pages. Export progress seemed stuck clicked on it and got an error about filename length went to log, found error - no clue as to which page caused the problem.

Provide a clear and concise description of the problem, e.g. I'm always frustrated when...

New Feature/Solution

Provide a clear and concise description of what you want to happen. 1) Add better logging / exception handling to say which page failed to export And / Or

2) have an option to cap filenames to x chars (maybe including a pagename hash at the end to give uniqueness).