ansys / pymapdl

Pythonic interface to MAPDL
https://mapdl.docs.pyansys.com
MIT License
424 stars 120 forks source link

About improving `protect_grpc` #2183

Open germa89 opened 1 year ago

germa89 commented 1 year ago

I'm not particularly happy about this...

The error is very obscure, and now we have more stuff to handle this kind of things, we should aim to do a better error catching.

https://github.com/ansys/pymapdl/blob/a8652360405d8c4c70470a22bcc3bc9e24ab1882/src/ansys/mapdl/core/errors.py#L124-L176

germa89 commented 1 year ago

this is more on the MAPDL side. The errors should be properly handled, and use try and catch if needed.