Skip to content

Commit

Permalink
Added warning message for invalid context menu array
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Gerstel <tgerstel@rocketsoftware.com>
  • Loading branch information
Timothy Gerstel committed Nov 1, 2019
1 parent f11fe48 commit 6f4b4e9
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -77,7 +77,7 @@ export class IFramePluginComponent {
instanceId: this.instanceId,
error: 'Unable to parse plugin definition'
}, '*');
this.logger.warn('Unable to parse plugin defintion');
this.logger.warn('Unable to parse plugin defintion. Error: ', e);
}
this.windowEvents.minimized.subscribe(() => {
this.postWindowEvent('windowEvents.minimized');
Expand Down Expand Up @@ -152,6 +152,7 @@ export class IFramePluginComponent {
}
return copy;
}catch(e){
this.logger.warn('Unable to parse context menu items. Error: ', e);
return undefined;
}
}
Expand Down

0 comments on commit 6f4b4e9

Please sign in to comment.