{"push_id":1453997475,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"6313dd79b0e965962381e5d0a331bbbfa5e20383","before":"c02b2f9de4ba221fb6acf1a901e264048901cf9e","commits":[{"sha":"6313dd79b0e965962381e5d0a331bbbfa5e20383","author":{"name":"Simon Hopwood","email":"8c69868916f64bdcb3b295f35e6920b02eeced18@hotmail.com"},"message":"Allows external events access to http error codes (#176)\n\n* Allows external events access to http error codes\r\n\r\nE.G.\r\n\r\napp.on(\"endNavigate\", function (e) {\r\nif (e.error) {\r\nif (e.error.invalidStatus) {\r\nswitch (e.error.statusCode) {\r\ncase 401: //Needs authorisation - Redirect to login page?\r\nconsole.log(\"AUTH REQUIRED\")\r\nbreak;\r\ncase 404: //Page not found\r\nconsole.log(\"NOT FOUND\")\r\nbreak;\r\ncase 500: //Error on page\r\nconsole.log(\"SERVER ERROR\")\r\nbreak;\r\n}\r\n}\r\n}\r\n});\r\n\r\n* Added test cases for returning http status codes","distinct":true,"url":"https://api.github.com/repos/liferay/senna.js/commits/6313dd79b0e965962381e5d0a331bbbfa5e20383"}]}
{"actor":{"display_login":"eduardolundgren"}}