Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
disable server side logging to avoid email bombing
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Huang committed Feb 7, 2013
1 parent 4cad337 commit 0007884
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -45,12 +45,14 @@ public void onUncaughtException(Throwable exception)
Log.fatal("uncaught exception", e);

String stackTrace = buildStackTraceMessages(e);
/* disable server side logging for now to avoid email bombing
RemoteLoggingAction action = new RemoteLoggingAction(stackTrace);
action.addContextInfo("selected Doc", appPresenter.getSelectedDocumentInfoOrNull());
action.addContextInfo("selected TransUnitId", targetContentsPresenter.getCurrentTransUnitIdOrNull());
action.addContextInfo("editor contents", targetContentsPresenter.getNewTargets());
dispatcher.execute(action, new NoOpAsyncCallback<NoOpResult>());
*/

if (!configHolder.getState().isShowError())
{
Expand Down

0 comments on commit 0007884

Please sign in to comment.