Skip to content

Commit

Permalink
raise pdf errors instead of showing them in the document view
Browse files Browse the repository at this point in the history
  • Loading branch information
longhotsummer committed Jul 17, 2023
1 parent 11133d4 commit f837606
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion peachjam/js/components/pdf-renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class PdfRenderer {
this.setupPreviewSyncing();
this.onPdfLoaded();
}).catch((e:ErrorEvent) => {
this.root.innerText = e.message;
throw e;
});
}

Expand Down
2 changes: 1 addition & 1 deletion peachjam/static/js/app-prod.js

Large diffs are not rendered by default.

0 comments on commit f837606

Please sign in to comment.