Kos / flippy

Feature flipper app for Django
ISC License
6 stars 1 forks source link

Add safe guard for flag value calculation #8

Open marcinkiewiczblazej opened 5 years ago

marcinkiewiczblazej commented 5 years ago

Current implementation might cause HTTP 500 in case of buggy implementation of a subject. It'd be good to have a safe which will catch all exceptions, log them, and return default value (False would be sensible value in case problem occurs)