Better handling of errors in multilog