We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf6d713 commit 3f9ea73Copy full SHA for 3f9ea73
adafruit_display_text/label.py
@@ -355,8 +355,8 @@ def text(self, new_text):
355
current_anchored_position = self.anchored_position
356
self._update_text(str(new_text))
357
self.anchored_position = current_anchored_position
358
- except RuntimeError:
359
- raise RuntimeError("Text length exceeds max_glyphs")
+ except RuntimeError as e:
+ raise RuntimeError("Text length exceeds max_glyphs") from e
360
361
@property
362
def font(self):
0 commit comments