Skip to content

Commit 46e7c25

Browse files
authored
do not attempt to modify the incoming error message
1 parent d211d97 commit 46e7c25

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/containers/blocks.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -510,10 +510,7 @@ class Blocks extends React.Component {
510510
// incomplete. Throwing the error would keep things like setting the
511511
// correct editing target from happening which can interfere with
512512
// some blocks and processes in the vm.
513-
if (error.message) {
514-
error.message = `Workspace Update Error: ${error.message}`;
515-
}
516-
log.error(error);
513+
log.error('Workspace Update Error:', error);
517514
}
518515
this.workspace.addChangeListener(this.props.vm.blockListener);
519516

0 commit comments

Comments
 (0)