1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Catch PDF error

This commit is contained in:
Hillel Coren 2017-10-30 11:55:33 +02:00
parent ccd1b8afde
commit 509a59d5d4

View File

@ -107,9 +107,8 @@
var needsRefresh = false;
function refreshPDF(force) {
//try {
try {
return getPDFString(refreshPDFCB, force);
/*
} catch (exception) {
@if (Utils::isTravis())
var message = exception.message || '';
@ -131,7 +130,6 @@
}
@endif
}
*/
}
function refreshPDFCB(string) {