diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-20 16:18:19 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-20 16:18:19 -0700 |
commit | e7684016a014cd17ea9525bf8ba8909464e052eb (patch) | |
tree | 100be7ef27b0e384e7e4293585a35ee324e5846d /src/postamble.js | |
parent | 22e4c333a7b17ba2e909b9118ef5fb6e4d0f5221 (diff) |
do not show the simulate-infinite-loop exception
Diffstat (limited to 'src/postamble.js')
-rw-r--r-- | src/postamble.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/postamble.js b/src/postamble.js index 9ee93673..561ee826 100644 --- a/src/postamble.js +++ b/src/postamble.js @@ -30,7 +30,7 @@ Module.callMain = function callMain(args) { catch(e) { if (e.name == 'ExitStatus') { return e.status; - } else { + } else if (e !== 'SimulateInfiniteLoop') { throw e; } } finally { |