chiefonboarding / ChiefOnboarding

Free and open-source employee onboarding platform. Onboard new hires through Slack or the web portal.
https://chiefonboarding.com
GNU Affero General Public License v3.0
656 stars 121 forks source link

Make saving json from response fail safe #378

Closed GDay closed 10 months ago

GDay commented 10 months ago

It would sometimes still fail if the "json" function was not in the response. This will catch everything and just fall back to an empty dict.

coveralls commented 10 months ago

Coverage Status

coverage: 93.549% (-0.02%) from 93.564% when pulling 1b125fb8ce96f53dc74b3500a07ff93c7d9827ad on make-saving-json-fail-safe into 8422a3112c6b91afe4db9efa7199efbec8d6c298 on master.