def extra_fields_from_exception(exception):
return {<EOL>'<STR_LIT>': type(exception).__name__,<EOL>'<STR_LIT>': exception.message<EOL>}<EOL>
Exception into a dict to be passed to logger

    Standardise the way we send exception messages so they can be filtered in
    kibana, also make it easy to add extra information in future.