Closed rathod-b closed 1 year ago
has_stacktrace
is false
. If there are no errors, the has_stacktrace
is set to false
.has_stacktrace
= false.I could use some help in testing and validating that handled errors. Do we know any existing means passing through any Django validations and triggering a handled REopt error?
Note: for support questions and enhancement suggestions please use the REopt Forum (under development). This repository's issues are reserved for feature requests and bug reports.
I'm submitting a ...
Do you want to request a feature or report a bug? Feature
What is the current behavior? REopt API returns the error messages from REopt.jl, but doesnt return an indicator to determine if the error returned contains a stacktrace or not. Knowing if a stacktrace is returned can make it easier to handle REopt errors programmatically and in REopt web tool UI
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).
What is the expected behavior? REopt API is able to pass a true/false to denote if an error response from REopt.jl contains a stacktrace or not.
What is the motivation / use case for changing the behavior? Knowing if a stacktrace is returned can make it easier to handle REopt errors programmatically and in REopt web tool UI
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)