fix: after fixing syntax errors in editor for JS/React lessons, log/preview doesn't work.
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
1b173bc97c
commit
ae02b0a885
@@ -87,7 +87,7 @@ function tryTransform(wrap = identity) {
|
||||
// At the minute, it will not bubble up
|
||||
// We collapse the pipeline so the app doesn't fall over trying
|
||||
// parse bad code (syntax/type errors etc...)
|
||||
throw new Error();
|
||||
throw result;
|
||||
}
|
||||
return result;
|
||||
};
|
||||
|
Reference in New Issue
Block a user