erikxcore / port-redesign

Portfolio redesign using Angular 1.5 and a whole lot of Illustrator and Photoshop.
http://www.ericbarber.me
0 stars 0 forks source link

Catch errors if external libraries are down #3

Open erikxcore opened 8 years ago

erikxcore commented 8 years ago

e.g. in blog service when using ghost, google map services

erikxcore commented 8 years ago

should elaborate - if ghost server is ddosed or something whole site (used) to go down with a JS error message. this is now caught and an error message is shown on the blog page only. if a google library is down the site should function as usual just without rendering the custom fonts or map, however, i would like to add in the ability to catch this (specifically on the map due to some more involved js on that element) and gracefully display a message where the ui component should be. not pressing since google very rarely goes down and this doesnt break user experience as the ghost blog going down did