Skip to content

Commit 31d9330

Browse files
authored
fix: inclue type name in error (#2754)
1 parent afed86c commit 31d9330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ape/api/accounts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def deploy(
354354
raise TypeError(
355355
"contract argument must be a ContractContainer type, "
356356
"such as 'project.MyContract' where 'MyContract' is the name of "
357-
"a contract in your project."
357+
f"a contract in your project. Got type={type(contract)}"
358358
)
359359

360360
bytecode = contract.contract_type.deployment_bytecode

0 commit comments

Comments
 (0)