Added logging to management moderator on command, exception handling on publish so the migration continues and logs the exception