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:
parent
ccd1b8afde
commit
509a59d5d4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user