console logs, removed whitelist url, trycatch