Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for error reporting from backend #57

Open
clagms opened this issue Jan 13, 2024 · 0 comments
Open

Support for error reporting from backend #57

clagms opened this issue Jan 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@clagms
Copy link
Collaborator

clagms commented Jan 13, 2024

Our industrial partners have frequently encountered the following problem:

They import a unifmu (python backend) into Similink, And then when they press the simulate button and simulink, because of some error or another in the backend, the whole simulation hangs and simulink needs to be killed.

80% of the times this is some unhandled exception on the python backend that causes the process to crash, but you and FMU continues waiting for the reply. Most of the times I can find a work around that involves logging on the Python back end onto a file and then inspecting that file to figure out what was wrong but I feel like there should be a better way to catch exceptions in the back end and send an error message back to the uni fmu so that it gets logged in the proper channels.

We could always blame the user for not logging things properly (and I do blame them!😋) for not testing the fmu before running it, but some of our users are not aware entirely about how unifmu works behind the scenes so this would increase the usability.

@clagms clagms added the enhancement New feature or request label Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant