fix: error wrapper (#1937)

This commit is contained in:
Anshuman Pandey
2024-01-22 18:22:25 +05:30
committed by GitHub
parent 64ff49acf3
commit 59bb977b3b
+1 -1
View File
@@ -58,7 +58,7 @@ export class CommandQueue {
if (!result) continue;
if (result.ok) {
if (!result.data.ok) {
if (result.data && !result.data.ok) {
errorHandler.handle(result.data.error);
}
}