You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logAndThrow("Error fetching program imports: "+error.message);
@@ -1068,6 +1077,7 @@ class AleoNetworkClient {
1068
1077
}
1069
1078
}
1070
1079
1080
+
1071
1081
/**
1072
1082
* Get a list of the program names that a program imports.
1073
1083
*
@@ -1135,7 +1145,7 @@ class AleoNetworkClient {
1135
1145
);
1136
1146
}catch(error){
1137
1147
thrownewError(
1138
-
`Error fetching mappings for program ${programId} - ensure the program exists on chain before trying again`,
1148
+
`Error fetching mappings for program ${programId} - ensure the program exists on chain before trying again: ${error}`,
1139
1149
);
1140
1150
}finally{
1141
1151
this.ctx={};
@@ -1174,7 +1184,7 @@ class AleoNetworkClient {
1174
1184
);
1175
1185
}catch(error){
1176
1186
thrownewError(
1177
-
`Error fetching value for key '${key}' in mapping '${mappingName}' in program '${programId}' - ensure the mapping exists and the key is correct`,
1187
+
`Error fetching value for key '${key}' in mapping '${mappingName}' in program '${programId}' - ensure the mapping exists and the key is correct: ${error}`,
0 commit comments