aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-11 21:37:39 +0800
committerFabio Berger <me@fabioberger.com>2018-04-11 21:37:39 +0800
commit3c84ce205000e9268163c4a15bc0753f566ccd56 (patch)
treea4a08398ce788063100dbf04a20498d8c9aefc51 /packages/deployer
parent9db1ce7ceb390444238883300ebabd99b67abcdc (diff)
downloaddexon-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
Diffstat (limited to 'packages/deployer')
-rw-r--r--packages/deployer/src/deployer.ts2
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}`);
}
}
/**