@xuda.io/runtime-bundle 1.0.378 → 1.0.379

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.
@@ -5319,13 +5319,16 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
5319
5319
  }
5320
5320
 
5321
5321
  if (typeof val === 'object') {
5322
- debugger;
5323
- let str = JSON.stringify(val);
5324
- if (str.includes('.') && str.includes('drv_') && str.length > 30) {
5325
- let new_val = replaceFiletoURL(str);
5322
+ try {
5323
+ let str = JSON.stringify(val);
5324
+ if (str.includes('.') && str.includes('drv_') && str.length > 30) {
5325
+ let new_val = replaceFiletoURL(str);
5326
5326
 
5327
- return { value: new_val, changed: true };
5328
- } else {
5327
+ return { value: new_val, changed: true };
5328
+ } else {
5329
+ return { value: val, changed: false };
5330
+ }
5331
+ } catch (err) {
5329
5332
  return { value: val, changed: false };
5330
5333
  }
5331
5334
  }
@@ -5319,13 +5319,16 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
5319
5319
  }
5320
5320
 
5321
5321
  if (typeof val === 'object') {
5322
- debugger;
5323
- let str = JSON.stringify(val);
5324
- if (str.includes('.') && str.includes('drv_') && str.length > 30) {
5325
- let new_val = replaceFiletoURL(str);
5322
+ try {
5323
+ let str = JSON.stringify(val);
5324
+ if (str.includes('.') && str.includes('drv_') && str.length > 30) {
5325
+ let new_val = replaceFiletoURL(str);
5326
5326
 
5327
- return { value: new_val, changed: true };
5328
- } else {
5327
+ return { value: new_val, changed: true };
5328
+ } else {
5329
+ return { value: val, changed: false };
5330
+ }
5331
+ } catch (err) {
5329
5332
  return { value: val, changed: false };
5330
5333
  }
5331
5334
  }