mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 16:25:21 +00:00
Minor changes to READMEs and core
This commit is contained in:
@@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user