Current exception handling logic failed to catch OAuthException which happens when the user used wrong consumer key and secret code. As a result, the portlet completely fails to render a proper message for the user.
In doView method of Evernote App controller class, we need to handle all possible exception. Instead of catching "SystemException" only, we will have to catch "Exception" and then check what the exception is instance of which will have to include OAuthException as well.
Thanks,
In doView method of Evernote App controller class, we need to handle all possible exception. Instead of catching "SystemException" only, we will have to catch "Exception" and then check what the exception is instance of which will have to include OAuthException as well.
Thanks,