Update exceptions.py

Call force_text() only if detail is a string, if detail is other data type better leave raw. The idea is give the programmer the possibility to manage other detail data type when catch the exception