@fbl-plugins/html-to-pdf
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -6,2 +6,8 @@ # Changelog | ||
## [1.0.3](https://github.com/FireBlinkLTD/fbl-plugins-html-to-pdf/releases/tag/1.0.3) - 2019-08-14 | ||
### Added | ||
- HTML page error reporting. | ||
## [1.0.2](https://github.com/FireBlinkLTD/fbl-plugins-html-to-pdf/releases/tag/1.0.2) - 2019-08-14 | ||
@@ -8,0 +14,0 @@ |
@@ -37,2 +37,5 @@ "use strict"; | ||
this.snapshot.log(`-> navigating to: http://localhost:${this.port}/${this.relativePath}`); | ||
page.on('pageerror', (err) => { | ||
this.snapshot.log(`Page error occurred. ${err.toString()} ${err.stack}`, true); | ||
}); | ||
let timeout = ((this.options.hasOwnProperty('timeout') && this.options.timeout) || 30) * 1000; | ||
@@ -67,3 +70,2 @@ const start = Date.now(); | ||
this.snapshot.log('-> ready function called'); | ||
console.log('READY'); | ||
resolve(); | ||
@@ -70,0 +72,0 @@ }); |
{ | ||
"name": "@fbl-plugins/html-to-pdf", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "fbl plugin to generate PDF documents based on HTML files", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27749
272