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/browser.js CHANGED
@@ -3258,6 +3258,9 @@ export class DDB {
3258
3258
  const message = this.dec.decode(buf.subarray(ils1, ilf1));
3259
3259
  if (message !== 'OK') {
3260
3260
  error.message = message;
3261
+ let lines = error.stack.split_lines();
3262
+ lines[0] += `: ${message}`;
3263
+ error.stack = lines.join_lines(false);
3261
3264
  return { type: 'error', data: error };
3262
3265
  }
3263
3266
  const bufobj = buf.subarray(ilf1 + 1);