mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2024-12-05 02:10:18 +00:00
feat: improve ttl error message (#300)
This commit is contained in:
parent
2615d5cefd
commit
9821183d53
@ -81,7 +81,9 @@ export const callAquaFunction: CallAquaFunctionType = ({ def, script, config, pe
|
||||
}
|
||||
|
||||
if (stage.stage === 'expired') {
|
||||
reject(`Request timed out after ${particle.ttl} for ${def.functionName} (particle id: ${particle.id})`);
|
||||
reject(
|
||||
`Particle expired after ttl of ${particle.ttl}ms for function ${def.functionName} (particle id: ${particle.id})`,
|
||||
);
|
||||
}
|
||||
|
||||
if (stage.stage === 'interpreterError') {
|
||||
|
Loading…
Reference in New Issue
Block a user