{"action":"opened","issue":{"url":"https://api.github.com/repos/jakub-g/biased-opener/issues/2","labels_url":"https://api.github.com/repos/jakub-g/biased-opener/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jakub-g/biased-opener/issues/2/comments","events_url":"https://api.github.com/repos/jakub-g/biased-opener/issues/2/events","html_url":"https://github.com/jakub-g/biased-opener/issues/2","id":89358889,"number":2,"title":"Crashes on run if config file has perm error..","user":{"login":"MichaelMcGlothlin","id":7582898,"avatar_url":"https://avatars.githubusercontent.com/u/7582898?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelMcGlothlin","html_url":"https://github.com/MichaelMcGlothlin","followers_url":"https://api.github.com/users/MichaelMcGlothlin/followers","following_url":"https://api.github.com/users/MichaelMcGlothlin/following{/other_user}","gists_url":"https://api.github.com/users/MichaelMcGlothlin/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelMcGlothlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelMcGlothlin/subscriptions","organizations_url":"https://api.github.com/users/MichaelMcGlothlin/orgs","repos_url":"https://api.github.com/users/MichaelMcGlothlin/repos","events_url":"https://api.github.com/users/MichaelMcGlothlin/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelMcGlothlin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-18T18:06:53Z","updated_at":"2015-06-18T18:06:53Z","closed_at":null,"body":"node-debug was crashing for me when it tried to open the browser..\r\n\r\nChanging the launcher() call to this seems to keep it from crashing, assuming tmpdir is accessible, and otherwise helpfully prints out the error.\r\n\r\n    var tmpdir = require( 'os' ).tmpdir();\r\n    launcher( require( 'path' ).join( tmpdir, '.config' ), function ( err, launch ) {\r\n     if ( err ) {\r\n      if ( cfg.verbose ) {\r\n       console.log( 'Error:', err.message );\r\n      }\r\n     }"}}