Skip to content

Commit

Permalink
feat: expose setUnexpectedErrorHandler method
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Oct 17, 2024
1 parent a56e1d7 commit 6614a05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/monaco.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import type {
create as createEditor,
createDiffEditor
} from 'vs/editor/standalone/browser/standaloneEditor'
import { errorHandler } from 'vs/base/common/errors'
import { errorHandler, setUnexpectedErrorHandler } from 'vs/base/common/errors'
import {
FoldingModel,
setCollapseStateForMatchingLines
Expand Down Expand Up @@ -537,5 +537,6 @@ export {
RawContextKey,
registerColor,
IReference,
ITextFileEditorModel
ITextFileEditorModel,
setUnexpectedErrorHandler
}

0 comments on commit 6614a05

Please sign in to comment.