Skip to content

Commit

Permalink
Fix error message from config method
Browse files Browse the repository at this point in the history
  • Loading branch information
socheatsok78 committed Aug 25, 2022
1 parent 4ec34f5 commit 68c8690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async function config(options) {
_log(`Failed to load ${dotenvPath} ${e.message}`)
}

return { error: e }
return { error: new Error(`Failed to load ${dotenvPath} ${e.message}`) }
}
}

Expand Down

0 comments on commit 68c8690

Please sign in to comment.