add wiki id to log
add wiki_id to error logging on main call