v/pol
1
0
mirror of https://github.com/taroved/pol synced 2025-05-28 03:50:08 -07:00

contacts in error messages

This commit is contained in:
Your Name 2017-07-18 17:41:47 -04:00
parent f2f823974d
commit 68adadd394
2 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ def downloadError(error, request=None, url=None):
request.write('Downloader error: ' + error.getErrorMessage())
request.write('Traceback: ' + error.getTraceback())
else:
request.write('Something wrong. Geek comment: ' + error.getErrorMessage())
request.write('Something wrong. Contact us by email: politepol.com@gmail.com . Geek comment: ' + error.getErrorMessage())
sys.stderr.write('\n'.join([str(datetime.now()), url, 'Downloader error: ' + error.getErrorMessage(), 'Traceback: ' + error.getTraceback()]))
request.finish()

View File

@ -59,10 +59,10 @@
}
},
failure: function () {
$('#preview').text('Something wrong.');
$('#preview').text('Something wrong. Reloaad the page or contact us by email: politepol.com@gmail.com');
},
error: function () {
$('#preview').text('Something wrong.');
$('#preview').text('Something wrong. Reloaad the page or contact us by email: politepol.com@gmail.com');
}
});
}