added commented line for logging stack traces in work