mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
chore: Upgrade Sentry to latest and update debug messages (#9134)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
parent
77dc055d81
commit
f12b92ce9d
7 changed files with 116 additions and 110 deletions
|
@ -219,9 +219,8 @@ const restoreElementWithProperties = <
|
|||
element.height > 1e6
|
||||
) {
|
||||
console.error(
|
||||
`Restore element with properties size or position is too large ${JSON.stringify(
|
||||
element,
|
||||
)}`,
|
||||
"Restore element with properties size or position is too large",
|
||||
{ element },
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -251,11 +250,7 @@ const restoreElement = (
|
|||
element.height < -1e6 ||
|
||||
element.height > 1e6
|
||||
) {
|
||||
console.error(
|
||||
`Restore element size or position is too large ${JSON.stringify(
|
||||
element,
|
||||
)}`,
|
||||
);
|
||||
console.error("Restore element size or position is too large", { element });
|
||||
}
|
||||
|
||||
switch (element.type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue