server - fix github error handling bug that killed the app