Commit 9a4fc72e authored by Tobias Kaupat's avatar Tobias Kaupat

Display real error location when plugins thow exceptions

parent 7e1d502d
Pipeline #4816024 passed with stages
in 7 minutes and 14 seconds
......@@ -161,7 +161,6 @@ export class FrameDatasourceInstance {
}
private handleMessage(msg: IPostMessage) {
try {
switch (msg.type) {
case MESSAGE_INITIAL_STATE: {
this.dsState = msg.payload;
......@@ -177,9 +176,6 @@ export class FrameDatasourceInstance {
console.log("frame got unknown message", msg)
break;
}
} catch (e) {
console.error("Failed to handle message", e)
}
}
private datasourceWillReceiveProps(newProps: IDatasourceProps) {
......
......@@ -55,7 +55,6 @@ export class FrameWidgetInstance {
}
private handleMessage(msg: IPostMessage) {
try {
switch (msg.type) {
case MESSAGE_STATE: {
this.widgetState = msg.payload;
......@@ -71,9 +70,6 @@ export class FrameWidgetInstance {
console.log("frame got unknown message", msg)
break;
}
} catch (e) {
console.error("Failed to handle message", e)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment