@nexrender/core 1.57.0 → 1.57.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexrender/core",
3
- "version": "1.57.0",
3
+ "version": "1.57.3",
4
4
  "main": "src/index.js",
5
5
  "author": "Inlife",
6
6
  "homepage": "https://www.nexrender.com",
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "f46ff82538d354e060ed6797d97f19d1a96356cd"
44
+ "gitHead": "b855ff943e79b243a02d414f37e222074668d131"
45
45
  }
package/src/index.js CHANGED
@@ -165,7 +165,6 @@ const render = (jobConfig, settings = {}) => {
165
165
  .then(job => state(job, settings, postrender, 'postrender'))
166
166
  .then(job => state(job, settings, cleanup, 'cleanup'))
167
167
  .catch(e => {
168
- console.log('catching the error internally')
169
168
  state(job, settings, cleanup, 'cleanup');
170
169
  throw e;
171
170
  });
@@ -206,6 +206,7 @@ Estimated date of change to the new behavior: 2023-06-01.\n`);
206
206
  job.onRenderError(job, new Error(matchError[1]));
207
207
  }
208
208
  errorSent = true
209
+ throw new Error(matchError[1]);
209
210
  }
210
211
 
211
212
  return data;