Skip to content

Add print with the submit context

Administrator requested to merge fix/add-verbosity-submit-error-report into master

Add more details to the error logged in submit error:

Before:

...
Reporting submit error
...

After:

...
Reporting submit error
Error context: [{'key': 'ticket_type', 'value': 'report_error'}, {'key': 'request', 'value': {'is_company': False, 'vat': 'es73455989x', 'name': 'Dan', 'surname': 'Mew', 'lastname': 'Maw', 'email': 'dan.mew.maw@mewmaw.org', 'tradename': None, 'birthdate': '1965-11-07', 'gender': 'female', 'lang': 'ca', 'nationality': 'AD', 'discovery_channel_id': 1, 'payment_type': 'split', 'iban': 'ES6629999918401234567891', 'service_iban': 'ES6629999918401234567891', 'address': {'street': 'Carrer Del Mew, 55, 1a', 'city': 'Barcelona', 'zip_code': '08018', 'state': 'B', 'country': 'ES'}, 'agrees_to_voluntary_contribution': True, 'lines': [{'type': 'broadband', 'product_code': 'SE_SC_REC_BA_F_100', 'broadband_isp_info': {'delivery_address': {'street': 'Carrer Del Mew, 55, 1a', 'city': 'Barcelona', 'zip_code': '08018', 'state': 'B', 'country': 'ES'}, 'service_address': {'street': 'Carrer Del Mew, 55, 1a', 'city': 'Barcelona', 'zip_code': '08018', 'state': 'B', 'country': 'ES'}}}, {'type': 'mobile', 'product_code': 'SE_SC_REC_MOBILE_T_200_1024', 'mobile_isp_info': {'phone_number': '23542435', 'previous_provider': 54, 'previous_contract_type': 'contract', 'delivery_address': {'street': 'Carrer Del Mew, 55, 1a', 'city': 'Barcelona', 'zip_code': '08018', 'state': 'B', 'country': 'ES'}}}]}}, {'key': 'user', 'value': None}]
...
Edited by Administrator

Merge request reports

Loading