Commit dc301ec
authored
chore: add an error handling in _adjust_image_payload (#1172)
* refact: _adjust_image_payload
* style: move import binascii
* refactor: raise helpful ValueError on UnicodeDecodeError
* refactor: add from e
* style: ruff formatting1 parent 6225fd6 commit dc301ec
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
0 commit comments