dolphindb 3.0.100 → 3.0.101

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/index.js CHANGED
@@ -3236,6 +3236,9 @@ export class DDB {
3236
3236
  const message = this.dec.decode(buf.subarray(ils1, ilf1));
3237
3237
  if (message !== 'OK') {
3238
3238
  error.message = message;
3239
+ let lines = error.stack.split_lines();
3240
+ lines[0] += `: ${message}`;
3241
+ error.stack = lines.join_lines(false);
3239
3242
  return { type: 'error', data: error };
3240
3243
  }
3241
3244
  const bufobj = buf.subarray(ilf1 + 1);