Skip to content

Commit

Permalink
Remove Hoist finger pointing! (#3777)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbwexler authored Sep 5, 2024
1 parent baeed6a commit 9785caa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/exception/ExceptionHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,14 +242,17 @@ export class ExceptionHandler {
ret = this.cloneAndTrim(ret);

// 3) Additional ad-hoc cleanups
// Remove finger pointing at Hoist
delete ret.isHoistException;

// Remove noisy grails exception wrapper info
// Remove verbose loadSpec from fetchOptions
const {serverDetails} = ret;
if (serverDetails?.className === 'GrailsCompressingFilter') {
delete serverDetails.className;
delete serverDetails.lineNumber;
}

// Remove verbose loadSpec from fetchOptions
const {fetchOptions} = ret;
if (fetchOptions?.loadSpec) {
fetchOptions.loadType = fetchOptions.loadSpec.typeDisplay;
Expand Down

0 comments on commit 9785caa

Please sign in to comment.