Comparing version 0.0.19 to 0.0.20
@@ -0,0 +0,0 @@ 'use strict' |
@@ -85,3 +85,3 @@ 'use strict' | ||
debug( | ||
'Task <%s:%s> execute rollback routines cause (Job) error', | ||
'Task <%s:%s> execute rollback routines due to (Job) error', | ||
this.task.constructor.name, | ||
@@ -88,0 +88,0 @@ this.task.name |
@@ -23,3 +23,3 @@ 'use strict' | ||
if (typeof info !== 'string') { | ||
if (info && typeof info !== 'string') { | ||
throw new TypeError(`Info must be a string`) | ||
@@ -74,7 +74,10 @@ } | ||
error( | ||
'Task <%s:%s> Invalid config schema', | ||
this.constructor.name, | ||
this.name | ||
`Task <${this.constructor.name}:${this | ||
.name}> Invalid config schema. Error: %O`, | ||
result.error | ||
) | ||
throw result.error | ||
throw new Error( | ||
`Task <${this.constructor.name}:${this | ||
.name}> has an innvalid config schema. ${result.error.message}` | ||
) | ||
} else if (result.value) { | ||
@@ -81,0 +84,0 @@ this.config = result.value |
{ | ||
"name": "bootme", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
15400
675