make failure callbacks readable in the log