{"action":"opened","issue":{"url":"https://api.github.com/repos/Gauge/html_table_reporter/issues/6","repository_url":"https://api.github.com/repos/Gauge/html_table_reporter","labels_url":"https://api.github.com/repos/Gauge/html_table_reporter/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Gauge/html_table_reporter/issues/6/comments","events_url":"https://api.github.com/repos/Gauge/html_table_reporter/issues/6/events","html_url":"https://github.com/Gauge/html_table_reporter/issues/6","id":141143041,"number":6,"title":"Cannot read property 'log' of undefined (test.ctx.log on main.js:288)","user":{"login":"carpiediem","id":5041066,"avatar_url":"https://avatars.githubusercontent.com/u/5041066?v=3","gravatar_id":"","url":"https://api.github.com/users/carpiediem","html_url":"https://github.com/carpiediem","followers_url":"https://api.github.com/users/carpiediem/followers","following_url":"https://api.github.com/users/carpiediem/following{/other_user}","gists_url":"https://api.github.com/users/carpiediem/gists{/gist_id}","starred_url":"https://api.github.com/users/carpiediem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carpiediem/subscriptions","organizations_url":"https://api.github.com/users/carpiediem/orgs","repos_url":"https://api.github.com/users/carpiediem/repos","events_url":"https://api.github.com/users/carpiediem/events{/privacy}","received_events_url":"https://api.github.com/users/carpiediem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-16T01:20:06Z","updated_at":"2016-03-16T01:20:06Z","closed_at":null,"body":"I'm getting an error that I can't figure out.  I have a long series of unit tests in 24 files.  When I run them through mocha using the default reporter, the process finishes normally (some tests passing, some failing, as I expect).  When I use `-R good-mocha-html-reporter` on individual files, they work fine too.  But when I use this reporter on a full test run (which takes a while), the process aborted with the error below.  No HTML report was generated by the full run.\r\n\r\nIs there a maximum length to the report that I'm surpassing?  Maybe something breaks when Windows goes into sleep mode?  Any other ideas?\r\n\r\n```\r\nC:\\dev\\fo-rest-api>npm test\r\n\r\n> fo-rest-api@0.6.0 test C:\\dev\\fo-rest-api\r\n> mocha test/bootstrap.test.js test/common.js test/unit/*/*.test.js\r\n\r\nMocha HTML Table Reporter v2.0.0\r\nNOTE: Tests sequence must complete to generate html report\r\nRun Mode: VERBOSE\r\n\r\nAccountController\r\n  /account\r\n    √ should accept API key <2703>\r\n    √ should return expected attributes <2437>\r\n\r\n...lots more...\r\n\r\n    x should return client orders <NaN>\r\n      |Test Logs|\r\n\r\n\r\n      |Error Message|\r\nTypeError: undefined is not a function\r\nOrganisationController\r\nC:\\dev\\fo-rest-api\\node_modules\\good-mocha-html-reporter\\main.js:288\r\n                test.log = test.ctx.log;\r\n                                   ^\r\nTypeError: Cannot read property 'log' of undefined\r\n    at Runner.<anonymous> (C:\\dev\\fo-rest-api\\node_modules\\good-mocha-html-reporter\\main.js:288:36)\r\n    at Runner.emit (events.js:110:17)\r\n    at Runner.fail (C:\\dev\\fo-rest-api\\node_modules\\mocha\\lib\\runner.js:233:8)\r\n    at Runner.uncaught (C:\\dev\\fo-rest-api\\node_modules\\mocha\\lib\\runner.js:683:12)\r\n    at process.uncaught (C:\\dev\\fo-rest-api\\node_modules\\mocha\\lib\\runner.js:783:10)\r\n    at process.emit (events.js:107:17)\r\n    at process._fatalException (node.js:236:26)\r\nnpm ERR! Test failed.  See above for more details.\r\n```"}}