diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-11 21:37:39 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-11 21:37:39 +0800 |
commit | 3c84ce205000e9268163c4a15bc0753f566ccd56 (patch) | |
tree | a4a08398ce788063100dbf04a20498d8c9aefc51 | |
parent | 9db1ce7ceb390444238883300ebabd99b67abcdc (diff) | |
download | dexon-sol-tools-3c84ce205000e9268163c4a15bc0753f566ccd56.tar dexon-sol-tools-3c84ce205000e9268163c4a15bc0753f566ccd56.tar.gz dexon-sol-tools-3c84ce205000e9268163c4a15bc0753f566ccd56.tar.bz2 dexon-sol-tools-3c84ce205000e9268163c4a15bc0753f566ccd56.tar.lz dexon-sol-tools-3c84ce205000e9268163c4a15bc0753f566ccd56.tar.xz dexon-sol-tools-3c84ce205000e9268163c4a15bc0753f566ccd56.tar.zst dexon-sol-tools-3c84ce205000e9268163c4a15bc0753f566ccd56.zip |
Improve deployer error message
-rw-r--r-- | packages/deployer/src/deployer.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/deployer/src/deployer.ts b/packages/deployer/src/deployer.ts index e4208e7a1..ad05417b1 100644 --- a/packages/deployer/src/deployer.ts +++ b/packages/deployer/src/deployer.ts @@ -170,7 +170,7 @@ export class Deployer { const contractArtifact: ContractArtifact = require(artifactPath); return contractArtifact; } catch (err) { - throw new Error(`Artifact not found for contract: ${contractName}`); + throw new Error(`Artifact not found for contract: ${contractName} at ${artifactPath}`); } } /** |