Skip to content

Commit

Permalink
Log errors in getTerminalLayoutInfo
Browse files Browse the repository at this point in the history
Part of #133542
  • Loading branch information
Tyriar committed Jun 30, 2023
1 parent eafde5a commit 13bf590
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ class LocalTerminalBackend extends BaseTerminalBackend implements ITerminalBacke
mark('code/terminal/didSetTerminalLayoutInfo');
this._storageService.remove(TerminalStorageKeys.TerminalLayoutInfo, StorageScope.WORKSPACE);
}
} catch {
// no-op
} catch (e: unknown) {
this._logService.warn('LocalTerminalBackend#getTerminalLayoutInfo Error', e && typeof e === 'object' && 'message' in e ? e.message : e);
}
}

Expand Down

0 comments on commit 13bf590

Please sign in to comment.