diff --git a/README.md b/README.md
index b2d98ba..2958117 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
-

+
Simple Node.js interface to generate customized Apple Wallet Passes for iOS.
diff --git a/non-macOS-steps.md b/non-macOS-steps.md
index 05451e0..3b8aa91 100644
--- a/non-macOS-steps.md
+++ b/non-macOS-steps.md
@@ -88,6 +88,6 @@ But let's not talk anymore about testing and let's go with the steps to follow.
$ openssl rsa -in
.key -outform PEM -out passkey.pem
```
-12. Execute Step 10 also for `AppleWWDRCA.cer` you've download from [Apple PKI](https://www.apple.com/certificateauthority/) and save it somewhere (over the rainbow... 🌈).
+12. Execute Step 9 also for `AppleWWDRCA.cer` you've download from [Apple PKI](https://www.apple.com/certificateauthority/) and save it somewhere (over the rainbow... 🌈).
13. And you are done. 🎉 Now try to create your first pass! My suggestion is to keep anyway the `.key` file somewhere as backup (this time not over the rainbow). You can always download `.cer` file from APP, but you cannot generate back your private key.
diff --git a/src/pass.js b/src/pass.js
index c22f991..a6cfe2c 100644
--- a/src/pass.js
+++ b/src/pass.js
@@ -721,10 +721,12 @@ class Pass {
});
}).catch(err => {
if (!err.path) {
+ // Catching error from '.then()';
+ console.log("Got an error");
throw err;
- } else {
- throw new Error(formatError("INVALID_CERT_PATH", path.parse(err.path).base));
}
+
+ throw new Error(formatError("INVALID_CERT_PATH", path.parse(err.path).base));
});
}