strusoft / femdesign-api

FEM-Design API
https://femdesign-api-docs.onstrusoft.com/
Apache License 2.0
41 stars 20 forks source link

Error handling. Send log back to user. #651

Closed andosca closed 1 year ago

andosca commented 1 year ago

https://strusoft.freshdesk.com/a/tickets/26078

Send content in log file back to user. When running analysis or design error messages in FEM-Design are suppressed. Users might not understand why their analysis fails. Usually the log file should give some hints about corrupt elements etc. This would give the user valuable information about what might have went wrong.

Pipe implementation might remove the need for this.

xRadne commented 1 year ago

C# Example 5 shows how to read the output. Maybe we could add to the example a few lines with some logic on what to do if it outputs a warning/error.

Marco-Pellegrino commented 1 year ago

No declared mass No declared load case or dead load No declared load combination

Marco-Pellegrino commented 1 year ago

https://github.com/specklesystems/speckle-sharp/blob/09608cae6fbb53b564915e9ccce030eca4267e59/ConnectorGrasshopper/ConnectorGrasshopper/Objects/CreateSpeckleObjectAsync.cs#L181-L194