on DEV, output error to console (rather than pixel tracking)
returning true from onerror, prevents firing of default handler