Socket
Socket
Sign inDemoInstall

bootme

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootme - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

4

lib/pipeline.js

@@ -89,5 +89,5 @@ 'use strict'

try {
await task.recover(err)
await task.rollback(err)
} catch (err) {
error(`Error during recover process %O`, err)
error(`Error during rollback process %O`, err)
}

@@ -94,0 +94,0 @@ }

@@ -44,12 +44,12 @@ 'use strict'

debug(
'Task <%s> execute recover routines cause (Job) error',
'Task <%s> execute rollback routines cause (Job) error',
this.parentTask.name
)
// avoid error bubbling otherwise we recover a second time
// avoid error bubbling otherwise we rollback a second time
try {
await this.pipeline.recover(err)
await this.pipeline.rollback(err)
} catch (err) {
error(
'Task <%s> error during (Job) recover routine',
'Task <%s> error during (Job) rollback routine',
this.parentTask.name

@@ -56,0 +56,0 @@ )

@@ -166,4 +166,4 @@ 'use strict'

*/
async recover(err) {
debug(`Task <${this.name}> execute recover routines`)
async rollback(err) {
debug(`Task <${this.name}> execute rollback routines`)

@@ -170,0 +170,0 @@ for (let hook of this.onError) {

{
"name": "bootme",
"version": "0.0.11",
"version": "0.0.12",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc