BoxLang: Our new JVM Dynamic Language made by Ortus! Check it out: https://www.boxlang.io

Add Error handling to renderWithSearchResults

Description

When an error is thrown by the `search` method of the DBAdapter, it is placed the `errorMessages` key of the search result and the `error` flag is thrown.

However, the search results content delivered is 0 of 0 results - indicating that the query did not match any results.

As a result, in order to debug search results, it takes a lot of dumping results and variables to get at what actually occurred.

If an error is thrown when searching, the `renderWithSearchResults` method should reflect this.

Activity

Show:

Luis Majano December 8, 2021 at 2:10 AM

Good observation. I added a way to visualize the results or the errors.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Affects versions

Components

Priority

Sentry

Created December 7, 2021 at 9:32 PM
Updated December 8, 2021 at 2:10 AM
Resolved December 8, 2021 at 2:10 AM

Flag notifications