fix for logging errors after a push