If a server-side error in Compiler service happens, web application shows only "Request failed with status code 500" message. Extra information needed here.
If we look into a service answer, we can see that it gives extra information about an error:
{
"message": "Internal Server Error",
"_links": {
"self": {
"href": "/compile",
"templated": false
}
},
"_embedded": {
"errors": [
{
"message": "Internal Server Error: Unable to compile the source\n[kind=ERROR, line=37, message=variable acl is already defined in class com.github.lonelylockley.archinsight.gen.cp.Container]"
}
]
}
}
It would be nice to show "message.message" field value to a user.
If a server-side error in Compiler service happens, web application shows only "Request failed with status code 500" message. Extra information needed here. If we look into a service answer, we can see that it gives extra information about an error:
It would be nice to show "message.message" field value to a user.