mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Log full stack trace for editor opened errors (#14932)
* Log full stack trace for editor opened errors * space * Actually print name
This commit is contained in:
@@ -1071,6 +1071,7 @@ export class EditorGroupView extends Themable implements IEditorGroupView {
|
||||
message: localize('editorOpenError', "Unable to open '{0}': {1}.", editor.getName(), toErrorMessage(error)),
|
||||
actions
|
||||
});
|
||||
console.log(`Unable to open '${editor.getName()}': `, error); // {{SQL CARBON EDIT}} Print full stack trace to console
|
||||
|
||||
Event.once(handle.onDidClose)(() => actions.primary && dispose(actions.primary));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user