Skip to content

Commit f4041b7

Browse files
MarmadileManteaterPillowytuba
authored andcommitted
Serialize the error as a string to pass it back to the main view (FreeTubeApp#8789)
1 parent 44c9ca9 commit f4041b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/sigFrameScript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ window.addEventListener('message', (event) => {
1212
} catch (error) {
1313
window.parent.postMessage(JSON.stringify({
1414
id: data.id,
15-
error
15+
error: error.toString()
1616
}), '*')
1717
}
1818
})

0 commit comments

Comments
 (0)