Open Chrisss50 opened 9 years ago
This would be a nice switch to flick when debugging: would this be a welcome addition?
Another option is a custom exception filter (e.g. a delegate) in PlotModel
to allow deciding the behaviour on a case-by-case basis (akin to a dispatcher exception handler).
"When I am exporting a plotmodel and there are some errors in it (i.e. yaxiskey not found or something like that) OxyPlot does not throw an exception, but rather writes the error message into the output-file. This applies for exporting to Pdf and png (did not test the other exporters). Is there a way to tell the exporter or OxyPlot directly not to write the error-message(s) into the output-file but rather just throw an exception?" -taken from a chat-question