[Bug] Redemption code websites responses
Closed this issue · 0 comments
YozenPL commented
Errors related to inaccessible webpage with redemption codes should be displayed as 1 line:
2024-07-08 14:18:00 <INFO:ReadWrite> Failed to fetch data from ReadWrite.
instead of printing the whole website to terminal.
2024-07-08 12:43:58 <INFO:Client> Initialize completed (3734.898701ms)
2024-07-08 14:18:00 <INFO:ReadWrite> {
message: 'Failed to fetch data from ReadWrite.',
statusCode: 500,
response: '<!DOCTYPE html>\n' +
"<html dir='ltr'>\n" +
'<head>\n' +
'\t<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n' +
'\t<meta name="viewport" content="width=device-width">\n' +
'\t\t\t<title>Database Error</title>\n' +
'\t<style type="text/css">\n' +
'\t\thtml {\n' +
'\t\t\tbackground: #f1f1f1;\n' +
'\t\t}\n' +
'\t\tbody {\n' +
'\t\t\tbackground: #fff;\n' +
'\t\t\tborder: 1px solid #ccd0d4;\n' +
'\t\t\tcolor: #444;\n' +
'\t\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;\n' +
'\t\t\tmargin: 2em auto;\n' +
'\t\t\tpadding: 1em 2em;\n' +
'\t\t\tmax-width: 700px;\n' +
'\t\t\t-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04);\n' +
'\t\t\tbox-shadow: 0 1px 1px rgba(0, 0, 0, .04);\n' +
'\t\t}\n' +
'\t\th1 {\n' +
'\t\t\tborder-bottom: 1px solid #dadada;\n' +
'\t\t\tclear: both;\n' +
'\t\t\tcolor: #666;\n' +
'\t\t\tfont-size: 24px;\n' +
'\t\t\tmargin: 30px 0 0 0;\n' +
'\t\t\tpadding: 0;\n' +
'\t\t\tpadding-bottom: 7px;\n' +
'\t\t}\n' +
'\t\t#error-page {\n' +
'\t\t\tmargin-top: 50px;\n' +
'\t\t}\n' +
'\t\t#error-page p,\n' +
'\t\t#error-page .wp-die-message {\n' +
'\t\t\tfont-size: 14px;\n' +
'\t\t\tline-height: 1.5;\n' +
'\t\t\tmargin: 25px 0 20px;\n' +
'\t\t}\n' +
'\t\t#error-page code {\n' +
'\t\t\tfont-family: Consolas, Monaco, monospace;\n' +
'\t\t}\n' +
'\t\tul li {\n' +
'\t\t\tmargin-bottom: 10px;\n' +
'\t\t\tfont-size: 14px ;\n' +
'\t\t}\n' +
'\t\ta {\n' +
'\t\t\tcolor: #2271b1;\n' +
'\t\t}\n' +
'\t\ta:hover,\n' +
'\t\ta:active {\n' +
'\t\t\tcolor: #135e96;\n' +
'\t\t}\n' +
'\t\ta:focus {\n' +
'\t\t\tcolor: #043959;\n' +
'\t\t\tbox-shadow: 0 0 0 2px #2271b1;\n' +
'\t\t\toutline: 2px solid transparent;\n' +
'\t\t}\n' +
'\t\t.button {\n' +
...