mirror of
https://github.com/gchq/CyberChef
synced 2025-03-14 05:46:56 +00:00
Update DishWorker.mjs
Fix possible browser freeze
This commit is contained in:
parent
1bc88728f0
commit
59372a5f17
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ async function bufferToStr(data) {
|
||||||
try {
|
try {
|
||||||
str = cptable.utils.decode(data.encoding, new Uint8Array(data.buffer));
|
str = cptable.utils.decode(data.encoding, new Uint8Array(data.buffer));
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
str = err;
|
str = err.message;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue