Skip to content

Commit 08ce93d

Browse files
committed
just log error if no drawing...
1 parent ab186ae commit 08ce93d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

signaturepad.android.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var SignaturePad = (function (_super) {
3838
return this._android.getTransparentSignatureBitmap();
3939
}
4040
else {
41-
throw new Error("No drawing in the pad.");
41+
console.log("No drawing in the pad.");
4242
}
4343
},
4444
enumerable: true,

signaturepad.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class SignaturePad extends common.SignaturePad {
3030
if (!this._android.isEmpty()) {
3131
return this._android.getTransparentSignatureBitmap();
3232
} else {
33-
throw new Error("No drawing in the pad.");
33+
console.log("No drawing in the pad.");
3434
}
3535
}
3636

0 commit comments

Comments
 (0)