try except json loads in show_errors