|
@@ -26,6 +26,13 @@ export default class MessageHandler {
|
|
|
if (data.callback === 'resolve') {
|
|
|
capability.resolve(data.data);
|
|
|
} else {
|
|
|
+ console.log({
|
|
|
+ data: {
|
|
|
+ action: data.data.action,
|
|
|
+ data: data.data.data
|
|
|
+ },
|
|
|
+ message: data.reason && data.reason.message
|
|
|
+ })
|
|
|
throw new Error("Unexpected callback case");
|
|
|
}
|
|
|
return;
|