From 631803eabccda9a85e8d06dbc200b3f5fbaa61bc Mon Sep 17 00:00:00 2001 From: "A.L" Date: Fri, 23 Feb 2024 14:58:37 +0800 Subject: [PATCH] fix: update error message --- src/asset-management/AaveManager.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asset-management/AaveManager.sol b/src/asset-management/AaveManager.sol index fcee296d..9898366f 100644 --- a/src/asset-management/AaveManager.sol +++ b/src/asset-management/AaveManager.sol @@ -113,7 +113,7 @@ contract AaveManager is IAssetManager, Owned(msg.sender), ReentrancyGuard { onlyOwner returns (bytes memory) { - return Address.functionCallWithValue(aTarget, aCalldata, aValue, "FACTORY: RAW_CALL_REVERTED"); + return Address.functionCallWithValue(aTarget, aCalldata, aValue, "AM: RAW_CALL_REVERTED"); } /*////////////////////////////////////////////////////////////////////////// HELPER FUNCTIONS