Skip to content

Commit 44eb12c

Browse files
committed
Minor logging changes
1 parent 42c1ece commit 44eb12c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/AztecAttributes.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ class AztecAttributes(attributes: Attributes = AttributesImpl()) : AttributesImp
2929
try {
3030
AppLog.e(AppLog.T.EDITOR, toString())
3131
} catch (e: ArrayIndexOutOfBoundsException) {
32-
AppLog.e(AppLog.T.EDITOR, "Error dumping internal state!", e)
32+
// No need to log anything here. `toString` already writes to log details, but we need to shallow the exception
33+
// we don't want to crash logging state of the app
3334
}
3435
}
3536

0 commit comments

Comments
 (0)