mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-10 03:50:38 +03: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
@ -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 New Issue
Block a user