diff options
Diffstat (limited to 'src/preamble.js')
-rw-r--r-- | src/preamble.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js index 6958068f..833e64e4 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -114,7 +114,7 @@ function Pointer_make(slab, pos, allocator) { var i; for (i = 0; i < size; i++) { if (slab[i] === undefined) { - throw 'Invalid element in slab'; // This can be caught, and you can try again to allocate later, see globalFuncs in run() + throw 'Invalid element in slab at ' + new Error().stack; // This can be caught, and you can try again to allocate later, see globalFuncs in run() } } |