mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
While processing a 'Move', retry failed actor retrieval (it may be a transient server error).
This commit is contained in:
parent
e751def762
commit
3155a80723
1 changed files with 5 additions and 1 deletions
|
@ -2190,8 +2190,12 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
|
||||||
else
|
else
|
||||||
snac_log(snac, xs_fmt("'Move' error: cannot get %s 'alsoKnownAs'", new_account));
|
snac_log(snac, xs_fmt("'Move' error: cannot get %s 'alsoKnownAs'", new_account));
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
snac_log(snac, xs_fmt("'Move' error: cannot get new actor %s", new_account));
|
snac_log(snac, xs_fmt("'Move' error: cannot get new actor %s", new_account));
|
||||||
|
|
||||||
|
/* may be a server hiccup, retry later */
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
snac_log(snac, xs_fmt("'Move' error: actor %s is not being followed", old_account));
|
snac_log(snac, xs_fmt("'Move' error: actor %s is not being followed", old_account));
|
||||||
|
|
Loading…
Reference in a new issue