Unnötige console.log und console.errors entfernt.

This commit is contained in:
Developer 02
2024-05-22 16:34:14 +02:00
parent 824bf6fb82
commit 8d6d483c5d
5 changed files with 1 additions and 13 deletions

View File

@@ -38,7 +38,6 @@ class App {
const documentResponse = this.documentBytes
if (documentResponse.fatal || documentResponse.error) {
console.error(documentResponse.error)
return Swal.fire({
title: 'Fehler',
text: 'Dokument konnte nicht geladen werden!',
@@ -66,7 +65,6 @@ class App {
)
// Load annotations into PSPDFKit
console.debug('Loading annotations..')
try {
this.signatureCount = this.currentDocument.elements.length
@@ -85,12 +83,11 @@ class App {
})
}
} catch (e) {
console.error(e)
}
}
handleAnnotationsLoad(loadedAnnotations) {
console.debug('annotations loaded', loadedAnnotations.toJS())
loadedAnnotations.toJS()
}
handleAnnotationsChange() { }
@@ -184,7 +181,6 @@ class App {
try {
await this.Instance.save()
} catch (e) {
console.error(e)
Swal.fire({
title: 'Fehler',
text: 'Umschlag konnte nicht signiert werden!',
@@ -196,7 +192,6 @@ class App {
// Export annotation data and save to database
try {
const json = await this.Instance.exportInstantJSON()
console.log(json)
const postEnvelopeResult = await this.Network.postEnvelope(
this.envelopeKey,
this.currentDocument.id,
@@ -223,7 +218,6 @@ class App {
return true
} catch (e) {
console.error(e)
return false
}
}