web: Fix production exception handler