Skip to content

Commit

Permalink
Add explicit stack trace dump to debut import issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrdoherty committed Sep 11, 2024
1 parent 7432abc commit 1c969c4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ private SearchResult doSearch(String sql, boolean propagateBuildErrors, Object[]
}
catch (Exception e) {
LOG.error("Unable to execute search with SQL: " + NL + sql + NL + "and params [" + FormatUtil.join(paramValues, ",") + "].", e);
// FIXME: not sure why the line above is not printing the stack trace in the logs, but do so explicitly to help debug NPE
LOG.error(FormatUtil.getStackTrace(e));
return WdkModelException.unwrap(e);
}
}
Expand Down

0 comments on commit 1c969c4

Please sign in to comment.