projectkudu / slingshot

This project implements the Deploy To Azure button
http://azure.microsoft.com/blog/2014/11/13/deploy-to-azure-button-for-azure-websites-2/
51 stars 20 forks source link

Should handle "Cannot read property 'subscriptionId' of undefined" error #17

Closed ehamai closed 9 years ago

ehamai commented 9 years ago

If you do a deployment and then refresh the page, an unhandled exception will be thrown that says "Cannot read property 'subscriptionId' of undefined". The error is completely harmless, however we should probably handle it so it doesn't pollute our app insights metrics.

davidebbo commented 9 years ago

I believe I've seen this same pop up in demos, though the steps may have been different. I think for some user accounts, it always happened. Maybe some issue with their tenant or sub. Would be good to handle in cleaner way.