Skip to content

Commit

Permalink
Reinstated the try...catch exception handler
Browse files Browse the repository at this point in the history
  • Loading branch information
asolkar committed May 24, 2010
1 parent 485ca39 commit e689267
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions content/overlay.js
Expand Up @@ -5,7 +5,7 @@
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
Expand All @@ -31,7 +31,7 @@
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
*
* ***** END LICENSE BLOCK ***** */

const Cc = Components.classes;
Expand Down Expand Up @@ -193,8 +193,8 @@ var emptyem = {
//
// For all servers, find Junk and Trash folders
//
// try
// {
try
{
//
// Get the latest preferences
//
Expand All @@ -211,12 +211,12 @@ var emptyem = {

this.removeAllJunkFolders(this.servers);
this.removeAllTrashFolders(this.servers);
// }
// catch(ex)
// {
// this.debugMessage("Exception - " + ex);
// this.debugMessage("Stack - " + ex.stack);
// }
}
catch(ex)
{
this.debugMessage("Exception - " + ex);
this.debugMessage("Stack - " + ex.stack);
}
},
onToolbarEmptyTrashJunkButtonCommand: function(e) {
emptyem.onMenuEmptyTrashJunkCommand(e);
Expand Down

0 comments on commit e689267

Please sign in to comment.