Skip to content

Commit

Permalink
added exception to object returned by getMainSessionsForSearch
Browse files Browse the repository at this point in the history
  • Loading branch information
YoussefDahi committed Nov 26, 2024
1 parent ba92803 commit 2bfc9a0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public List<Session> getMainSessionsForSearch(JqueryMainSessionFilter jsf) throw
.columns(
getColumns(
MAIN_SESSION, ID, NAME, START, END, LOCATION, TYPE,
USER
USER,ERR_TYPE, ERR_MSG
))
.columns(getColumns(INSTANCE, APP_NAME))
.filters(MAIN_SESSION.column(INSTANCE_ENV).eq(INSTANCE.column(ID)));
Expand All @@ -406,6 +406,7 @@ public List<Session> getMainSessionsForSearch(JqueryMainSessionFilter jsf) throw
main.setAppName(rs.getString(APP_NAME.reference()));
main.setUser(rs.getString(USER.reference()));
main.setType(rs.getString(TYPE.reference()));
main.setException(getExceptionInfoIfNotNull(rs.getString(ERR_TYPE.reference()), rs.getString(ERR_MSG.reference())));
main.setRestRequests(new ArrayList<>());
main.setLocalRequests(new ArrayList<>());
main.setDatabaseRequests(new ArrayList<>());
Expand Down

0 comments on commit 2bfc9a0

Please sign in to comment.