Skip to content

Commit

Permalink
Log errors during format to the console.
Browse files Browse the repository at this point in the history
This stops the debugger breaking when this happens - it's really common
if you have compile errors.
  • Loading branch information
DanTup committed Aug 13, 2016
1 parent 4b867db commit b674557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/dart_formatting_edit_provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class DartFormattingEditProvider implements DocumentFormattingEditProvide
resolve(null);
else
resolve(resp.edits.map(e => this.convertData(document, e)));
});
}, e => console.warn(e.message));
});
}

Expand Down

0 comments on commit b674557

Please sign in to comment.