@osdk/generator 1.4.0 → 1.5.0

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.
@@ -1205,7 +1205,7 @@ function objectPropertyTypeToSdkPropertyDefinition(propertyType) {
1205
1205
  }
1206
1206
  return "numericTimeseries";
1207
1207
  default:
1208
- throw new Error(`Unexecpected data type ${propertyType}`);
1208
+ throw new Error(`Unexecpected data type ${JSON.stringify(propertyType)}`);
1209
1209
  }
1210
1210
  }
1211
1211