diff --git a/index.js b/index.js index ca1af50..625e1f5 100644 --- a/index.js +++ b/index.js @@ -158,7 +158,7 @@ function errorFirst() throw new Error('Broken control flow! Callback'+ getStack(thread._current)+ '\nmust be called to resume thread, but this one is called instead:'+ - getStack(fn._stack)+'\n--' + getStack(fn)+'\n--' ); } if (arguments[0]) diff --git a/package.json b/package.json index d3d30d3..407836c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gen-thread", - "version": "1.0.3", + "version": "1.0.4", "author": { "name": "Vitaliy Filippov", "email": "vitalif@yourcmc.ru"