| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
thank you
Sorry, something went wrong.
| if (JinjavaInterpreter.isOutputTooLarge(output)) { | ||
| return wrapEagerInterpret(tagNode, interpreter, null); | ||
| } |
There was a problem hiding this comment.
We only want to do the deferred execution eager interpret if we fully succeeded, but the output is too large. If we encountered an uncaught OutputTooBigException while running innerInterpret, we haven't handled that, and the context won't be in a proper state. (It likely would come from attempting to reconstruct a value, but its string representation is too large.)
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
As a follow up to #1051, since these exceptions are now wrapped in JsonMappingException, we can unwrap them to see if they are caused by LengthLimitingJsonProcessingException so that we'll convert it to an OutputTooBigException