aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-05 15:30:53 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-03-05 15:30:53 -0800
commit4aaed2c802ac0e4990375d59e91860a4f9ddc141 (patch)
tree23af0f9316b0fe8e96cd9776e55c9a4f64910d2a /emscripten.py
parent20f003197bbcfec352e7ef555b37fbe40f356442 (diff)
limit output in error message
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py
index 2b720293..08ae85c5 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -238,7 +238,7 @@ def emscript(infile, settings, outfile, libraries=[], compiler_engine=None,
outputs = [output.split('//FORWARDED_DATA:') for output in outputs]
for output in outputs:
- assert len(output) == 2, 'Did not receive forwarded data in an output - process failed? We only got: ' + output[0]
+ assert len(output) == 2, 'Did not receive forwarded data in an output - process failed? We only got: ' + output[0][-300:]
if DEBUG: print >> sys.stderr, ' emscript: phase 2 took %s seconds' % (time.time() - t)
if DEBUG: t = time.time()