@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.
@@ -26123,13 +26123,16 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
26123
26123
  }
26124
26124
 
26125
26125
  if (typeof val === 'object') {
26126
- debugger;
26127
- let str = JSON.stringify(val);
26128
- if (str.includes('.') && str.includes('drv_') && str.length > 30) {
26129
- let new_val = replaceFiletoURL(str);
26126
+ try {
26127
+ let str = JSON.stringify(val);
26128
+ if (str.includes('.') && str.includes('drv_') && str.length > 30) {
26129
+ let new_val = replaceFiletoURL(str);
26130
26130
 
26131
- return { value: new_val, changed: true };
26132
- } else {
26131
+ return { value: new_val, changed: true };
26132
+ } else {
26133
+ return { value: val, changed: false };
26134
+ }
26135
+ } catch (err) {
26133
26136
  return { value: val, changed: false };
26134
26137
  }
26135
26138
  }