Fix error callbacks

Signed-off-by: Boris HUISGEN <bhuisgen@hbis.fr>