@khanacademy/perseus-editor 2.5.2 → 2.6.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @khanacademy/perseus-editor
2
2
 
3
+ ## 2.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e08f85ee: Add testing and improve error logging in the image editor
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [e08f85ee]
12
+ - @khanacademy/perseus@7.2.0
13
+
3
14
  ## 2.5.2
4
15
 
5
16
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -28342,7 +28342,7 @@ const ImageEditor = createReactClass({
28342
28342
  this.setUrl(url, size[0], size[1], true);
28343
28343
  } catch (error) {
28344
28344
  this.setState({
28345
- backgroundImageError: `There was an error loading the image URL: ${error}`
28345
+ backgroundImageError: `There was an error loading the image URL: ${JSON.stringify(error, null, 2)}`
28346
28346
  });
28347
28347
  }
28348
28348
  },