mobilesfeatures / gwtupload

Automatically exported from code.google.com/p/gwtupload
Other
0 stars 0 forks source link

Missing stack trace in logs for exceptions in UploadAction #109

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Exceptions thrown from an UploadAction#executeAction method are actually 
swallowed. This block in the UploadAction#doPost method:

    } catch (Exception e) {
      logger.info("Exception " + e);
      error = e.getMessage();
    }
doesn't problery log the problem. Log4j and java.util.logging both have log 
methods that take a Throwable parameter, and these properly log the full stack 
trace.

Original issue reported on code.google.com by hhcofc...@gmail.com on 22 Jun 2011 at 3:19

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r930.

Original comment by manuel.carrasco.m on 5 Jul 2011 at 1:07