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
Feature Request: Add error details to 500 errors #413
Comments
Hm, I see your point, but it's not a bug, rather a feature request. |
+1 I too find this challenging |
Any update to this? |
+ 10 The visibility of error/event logging is a significant drag on our ability to use some of the more powerful capabilities of structr. I find myself avoiding StructrScript almost in it's entirety since it's impossible to tell what goes on inside the box. worse yet... when there are issues, the service will provide 200/201 responses, when in actuality unvalidatable (underlying) errors and DML in the meta layer falls on the floor (e.g. inside function attributes, methods) . |
We'll add a lot more logging for the server-side scripting soon. |
We just added lots of logging to StructrScript functions (see 6be7320) and made a lot of those functions a bit more strict. You will see a lot more log entries for wrong parameters and for caught exceptions in structrscript functions. You can test this for example by writing |
Is there an update to the logging for server side issues as well? |
It's all about server-side logging (StructrScript and JavaScript are executed on the server). |
Excellent. How about the REST interface and 500 errors - has any improvement been made there to include more details? |
It appears that almost all 500 errors do not provide any detail to track down what caused the error. There is nothing in the HTTP resource and there is nothing in any of the log files.
Request -- all 500 errors should at the very least provide a full stack trace and message in the structr log files.
The text was updated successfully, but these errors were encountered: