Skip to content

Commit

Permalink
Make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
polinasok committed Feb 18, 2021
1 parent 3bf6d6d commit b860a18
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/debugAdapter/goDebug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1452,11 +1452,14 @@ export class GoDebugSession extends LoggingDebugSession {
async (err, out) => {
if (err) {
this.logDelveError(err, 'Failed to produce stacktrace');
return this.sendErrorResponse(response, 2004, 'Unable to produce stack trace: "{e}"', {
e: err.toString()
},
// Disable showUser pop-up since errors already show up under the CALL STACK pane
null);
return this.sendErrorResponse(
response,
2004,
'Unable to produce stack trace: "{e}"',
{ e: err.toString() },
// Disable showUser pop-up since errors already show up under the CALL STACK pane
null
);
}
const locations = this.delve.isApiV1 ? <DebugLocation[]>out : (<StacktraceOut>out).Locations;
log('locations', locations);
Expand Down

0 comments on commit b860a18

Please sign in to comment.