vitruv-tools / Vitruv

View-based Development and Model Consistency Framework
http://vitruv.tools
Eclipse Public License 1.0
14 stars 19 forks source link

remote: notify client about exceptions during change propagation #612

Open larsk21 opened 6 months ago

larsk21 commented 6 months ago

Currently exceptions during change propagation do not seem to be caught (see link). We should however notify the client when committed changes are rejected, e.g., through a failure code in the REST response.

https://github.com/vitruv-tools/Vitruv/blob/7802981286d23a6bed1efe4d2d485b7ed7d46e7e/bundles/tools.vitruv.framework.remote/src/tools/vitruv/framework/remote/server/endpoint/ChangePropagationEndpoint.java#L50C13-L50C67