broad error logging