Skip to content

fix: error code should be accessed from error object directly#190

Merged
SukkaW merged 1 commit intohexojs:masterfrom
curbengh:err-code
Apr 27, 2020
Merged

fix: error code should be accessed from error object directly#190
SukkaW merged 1 commit intohexojs:masterfrom
curbengh:err-code

Conversation

@curbengh
Copy link
Contributor

continuation of #185

@curbengh
Copy link
Contributor Author

It might be due to hexojs/hexo-fs#53. I guess Bluebird emits error.cause.code while native promise emits error.code.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 84.677% when pulling bde2137 on curbengh:err-code into 37f654a on hexojs:master.

@SukkaW SukkaW merged commit 960c52a into hexojs:master Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants